IIdentity Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the basic functionality of an identity object.
public interface class IIdentity
public interface IIdentity
[System.Runtime.InteropServices.ComVisible(true)]
public interface IIdentity
type IIdentity = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IIdentity = interface
Public Interface IIdentity
- Derived
- Attributes
Remarks
An identity object represents the user on whose behalf the code is running. This interface is implemented by the GenericIdentity and WindowsIdentity classes.
Properties
AuthenticationType |
Gets the type of authentication used. |
IsAuthenticated |
Gets a value that indicates whether the user has been authenticated. |
Name |
Gets the name of the current user. |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.