System.Security.Principal.WindowsPrincipal Members

The members of System.Security.Principal.WindowsPrincipal are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Security.Principal.WindowsPrincipal class by using the specified System.Security.Principal.WindowsIdentity object.

Public Properties

[read-only]
IdentityIIdentity.

Gets the identity of the current principal.

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.