Edit

Share via


AccessControlEntry.Trustee Property

Definition

Gets or sets the user, group, domain, or alias to which you are assigning access rights.

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

Property Value

A Trustee that specifies a user account, group account, or logon session to which a AccessControlEntry applies.

Exceptions

The Trustee property is null.

Remarks

Both users and programs, such as Win32 services, use user accounts to log on to the local computer. Group accounts cannot be used to log on to a computer, but are useful in AccessControlEntry instances to allow or deny a set of access rights to one or more user accounts.

Applies to

See also