PrincipalPermissionAttribute.Name 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定與當前主體相關聯的恆等式名稱。
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String
屬性值
一個名稱,以配合底層基於角色的資安提供者所提供的名稱。
備註
如果認證提供者是 NT Windows,Name 與使用者的 Windows NT 登入名稱(格式為「DomainName\UserName」)相同。 請查閱主機的文件,了解它使用的驗證供應商,以及它如何判定目前主體的身份。