Edit

Share via


AccessControlEntry.Trustee Property

Definition

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

public System.Messaging.Trustee Trustee { get; set; }

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also