IPrincipal.Identity 属性

定义

获取当前用户的标识。

public:
 property System::Security::Principal::IIdentity ^ Identity { System::Security::Principal::IIdentity ^ get(); };
public System.Security.Principal.IIdentity Identity { get; }
public System.Security.Principal.IIdentity? Identity { get; }
member this.Identity : System.Security.Principal.IIdentity
Public ReadOnly Property Identity As IIdentity

属性值

与当前用户关联的 IIdentity 对象。

适用于