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 */
public Trustee get_Trustee ()

/** @property */
public void set_Trustee (Trustee value)

public function get Trustee () : Trustee

public function set Trustee (value : Trustee)

Property Value

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

Exception typeCondition

ArgumentNullException

The Trustee property is a null reference (Nothing in Visual Basic).

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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft