IIdentity 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义标识对象的基本功能。
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
	- 派生
 
- 属性
 
注解
标识对象代表其代码运行的用户。 此接口由 GenericIdentity 和 WindowsIdentity 类实现。
属性
| AuthenticationType | 
		 获取所使用的身份验证的类型。  | 
        	
| IsAuthenticated | 
		 获取一个值,该值指示是否验证了用户。  | 
        	
| Name | 
		 获取当前用户的名称。  |