共用方式為


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

適用於