Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPrincipal Interface

Defines the basic functionality of a principal object.

Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)

[ComVisibleAttribute(true)] 
public interface IPrincipal
/** @attribute ComVisibleAttribute(true) */ 
public interface IPrincipal
ComVisibleAttribute(true) 
public interface IPrincipal
Not applicable.

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.

Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

Show:
© 2016 Microsoft