IIdentity Interface

IIdentity Interface

 

Defines the basic functionality of an identity object.

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

[ComVisibleAttribute(true)]
public interface IIdentity

NameDescription
System_CAPS_pubpropertyAuthenticationType

Gets the type of authentication used.

System_CAPS_pubpropertyIsAuthenticated

Gets a value that indicates whether the user has been authenticated.

System_CAPS_pubpropertyName

Gets the name of the current user.

An identity object represents the user on whose behalf the code is running. This interface is implemented by the GenericIdentity and WindowsIdentity classes.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft