Return the membership of the current principal in the specified role.
- rid
- An integer representing the group.
True if the current identity is a member of the specified role, false otherwise.
The role id, is mapped like this:
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