System.Security.Principal.IPrincipal

Defines the basic functionality of a principal object.

See Also: IPrincipal Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IPrincipal

Remarks

A principal object represents the security context of the user on whose behalf the code is running, including that user's identity (System.Security.Principal.IIdentity) and any roles to which they belong.

All principal objects are required to implement the System.Security.Principal.IPrincipal interface. For more information about System.Security.Principal.IPrincipal implementations, see the System.Security.Claims.ClaimsPrincipal class.

Requirements

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0