Mono Class Library: System.Security.Principal.WindowsPrincipal Overview | MembersSystem.Security.Principal.WindowsPrincipal.IsInRole Method |
Return the membership of the current principal in the specified role. [Edit]
|
- rid
- An integer representing the group. [Edit]
True if the current identity is a member of the specified role, false otherwise. [Edit]
The role id, is mapped like this:[Edit]
Role ID Description 544 BUILTIN\\Administrators 545 BUILTIN\\Users 546 BUILTIN\\Guests 547 BUILTIN\\Power Users 548 BUILTIN\\Account Operators 549 BUILTIN\\System Operators 550 BUILTIN\\Print Operators 551 BUILTIN\\Backup Operators 552 BUILTIN\\Replicator
Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0