IIdentity IIdentity IIdentity IIdentity Interface

定义

定义标识对象的基本功能。Defines the basic functionality of an identity object.

public interface class IIdentity
[System.Runtime.InteropServices.ComVisible(true)]
public interface IIdentity
type IIdentity = interface
Public Interface IIdentity
派生
属性

注解

标识对象表示的用户的名义运行代码。An identity object represents the user on whose behalf the code is running. 此接口由实现GenericIdentityWindowsIdentity类。This interface is implemented by the GenericIdentity and WindowsIdentity classes.

属性

AuthenticationType AuthenticationType AuthenticationType AuthenticationType

获取所使用的身份验证的类型。Gets the type of authentication used.

IsAuthenticated IsAuthenticated IsAuthenticated IsAuthenticated

获取一个值,该值指示是否验证了用户。Gets a value that indicates whether the user has been authenticated.

Name Name Name Name

获取当前用户的名称。Gets the name of the current user.

适用于