The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WindowsPrincipal.IsInRole Method
Visual Studio 2008
Determines whether the current principal belongs to a specified Windows user group.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
IsInRole(Int32) | Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID). |
|
IsInRole(SecurityIdentifier) | Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID). |
|
IsInRole(WindowsBuiltInRole) | Determines whether the current principal belongs to the Windows user group with the specified WindowsBuiltInRole. |
|
IsInRole(String) | Determines whether the current principal belongs to the Windows user group with the specified name. |
There are four overloads for this method. For performance reasons, the IsInRole(SecurityIdentifier) overload is strongly recommended.
Important Note: |
|---|
The IsInRole method is not supported on Windows 98 or Windows Millennium Edition. |
Community Additions
Show:
Important Note: