This documentation is archived and is not being maintained.

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)

Not applicable.

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.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0