This documentation is archived and is not being maintained.

IPrincipal Interface

Defines the basic functionality of a principal object.

For a list of all members of this type, see IPrincipal Members.

[Visual Basic]
Public Interface IPrincipal
public interface IPrincipal
public __gc __interface IPrincipal
public interface IPrincipal

Classes that Implement IPrincipal

Class Description
GenericPrincipal Represents a generic principal.
WindowsPrincipal Allows code to check the Windows group membership of a Windows user.


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

All principal objects are required to implement the IPrincipal interface.


Namespace: System.Security.Principal

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

IPrincipal Members | System.Security.Principal Namespace