Trustee.TrusteeType Property

Gets or sets the type of the trustee, which identifies whether the trustee is a user, group, computer, domain, or alias.

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

public TrusteeType TrusteeType { get; set; }
/** @property */
public TrusteeType get_TrusteeType ()

/** @property */
public void set_TrusteeType (TrusteeType value)

public function get TrusteeType () : TrusteeType

public function set TrusteeType (value : TrusteeType)

Property Value

A TrusteeType that indicates what type of account the trustee has on the system. The default is Unknown.

Exception typeCondition


The trustee type specified is not one of the TrusteeType enumeration members.

The TrusteeType indicates what type of account the trustee is associated with on the domain controller or on the local computer. This can be, for example, a user account, a group account, or a computer account.

If you are specifying a predefined group name for the Name property, such as Everyone, the TrusteeType is Group, rather than Alias.

  • 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