Specifies a user account, group account, or logon session to which an access control entry applies.
For a list of all members of this type, see Trustee Members.
[Visual Basic] Public Class Trustee [C#] public class Trustee [C++] public __gc class Trustee [JScript] public class Trustee
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
The trustee is the entity to whom you are granting or denying access rights when you create an access control entry. Set the TrusteeType member (either directly or using the Trustee constructor) to specify whether the trustee is a user, computer, or other type. If you do not specify the trustee type before setting permissions for the trustee, the type defaults to Unknown.
You must specify a value for the Name property before using the Trustee to set permissions. The Name contains the name of the user, group, or computer account to which the new access rights will be assigned. Optionally, you can set the SystemName property to identify the name of the system on which the trustee account is looked up to resolve the name's security identifier. If you do not specify a value for SystemName, the local computer looks up the account name.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Messaging (in System.Messaging.dll)