Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsInRole Method

WindowsPrincipal.IsInRole Method

Determines whether the current principal belongs to a specified Windows user group.

Name Description
WindowsPrincipal.IsInRole (Int32) Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).
WindowsPrincipal.IsInRole (SecurityIdentifier) Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).
WindowsPrincipal.IsInRole (String) Determines whether the current principal belongs to the Windows user group with the specified name.
WindowsPrincipal.IsInRole (WindowsBuiltInRole) Determines whether the current principal belongs to the Windows user group with the specified WindowsBuiltInRole.

Community Additions

ADD
Show:
© 2015 Microsoft