Trustee.TrusteeType Property

Definition

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

C#
public System.Messaging.TrusteeType TrusteeType { get; set; }

Property Value

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

Exceptions

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

Remarks

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.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also