System.Security.Principal.WindowsPrincipal: Method Members

The methods of System.Security.Principal.WindowsPrincipal are listed below. For a list of all members, see the WindowsPrincipal Members list.

See Also: Inherited members from System.Object

Public Methods

IsInRole(int) : bool

Determines whether the current principal belongs to the Windows user group with the specified relative identifier (RID).

IsInRole(SecurityIdentifier) : bool

Determines whether the current principal belongs to the Windows user group with the specified security identifier (SID).

IsInRole(WindowsBuiltInRole) : bool

Determines whether the current principal belongs to the Windows user group with the specified System.Security.Principal.WindowsBuiltInRole.

IsInRole(string) : bool

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