Return the membership of the current principal in the specified role.
- role
- A string representing the role name to check for membership.
True if the identity is part of the specified role, false otherwise.
Roles are case sensitive.
Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0