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.

Exception Condition
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
Available since 1.1
Return to top
Show: