語言

SecurityIdentity 類別

定義

包含與 COM+ 通話鏈中身份相關的資訊。

public ref class SecurityIdentity sealed
public sealed class SecurityIdentity
type SecurityIdentity = class
Public NotInheritable Class SecurityIdentity
繼承
SecurityIdentity

備註

你不會用程式化的方式建立新的實例。 相反地,你會從 和 SecurityCallContext獲得新的實例SecurityCallers。

屬性

名稱 Description
AccountName

取得由此身份所描述的使用者名稱。

AuthenticationLevel

取得此身份所描述使用者的認證等級。

AuthenticationService

取得此身份所描述的認證服務。

ImpersonationLevel

會取得該身份所描述的使用者的冒充等級。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於