AccessControlEntry.Trustee 屬性

定義

取得或設定您要指派存取權限的使用者、群組、電腦、網域或別名。

public:
 property System::Messaging::Trustee ^ Trustee { System::Messaging::Trustee ^ get(); void set(System::Messaging::Trustee ^ value); };
public System.Messaging.Trustee Trustee { get; set; }
member this.Trustee : System.Messaging.Trustee with get, set
Public Property Trustee As Trustee

屬性值

Trustee,指定 AccessControlEntry 套用至的使用者帳戶、群組帳戶或登入工作階段 (Session)。

例外狀況

Trustee 屬性為 null

備註

用戶和程式,例如 Win32 服務,都會使用使用者帳戶登入本機計算機。 組帳戶無法用來登入計算機,但在實例中 AccessControlEntry ,允許或拒絕一或多個用戶帳戶的一組訪問許可權很有用。

適用於

另請參閱