Role
Gets or sets the role.
Syntax
IRole Role {get; set;}
Property value
The object representing the role.
Exceptions
Role throws an ApplicationException if the role you specify is not in the current or parent zone.
If the Role property fails, see the message returned by the exception for more specific information about the reason for the failure.