Export (0) Print
Expand All

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
[C#]
public interface IPrincipal
[C++]
public __gc __interface IPrincipal
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft