Redigera

Dela via


IIdentity Interface

Definition

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