Provides a means for checking to see if the principal belongs to a given role.
[Visual Basic] Function IsInRole( _ ByVal role As String _ ) As Boolean [C#] bool IsInRole( string role ); [C++] bool IsInRole( String* role ) = 0; [JScript] function IsInRole( role : String ) : Boolean;
True if principal is a member of the role specified, false otherwise.
IPrincipal Interface | IPrincipal Members | System.Security.Principal Namespace