Mono Class Library: System.Security.Principal.GenericPrincipal Overview | MembersSystem.Security.Principal.GenericPrincipal.IsInRole Method |
Return the membership of the current principal in the specified role. [Edit]
|
- role
- A string representing the role name to check for membership. [Edit]
True if the identity is part of the specified role, false otherwise. [Edit]
Roles are case sensitive. [Edit]
Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0