Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AccessControlEntry.Trustee Property

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

Namespace:  System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public Trustee Trustee { get; set; }

Property Value

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

ExceptionCondition
ArgumentNullException

The Trustee property is null.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft