System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / AccessControlEntry Class / Trustee Property



In This Topic
    Trustee Property
    In This Topic
    Gets or sets the user, group, domain, or alias to which you are assigning access rights.
    Syntax
    'Declaration
     
    
    Public Property Trustee As Trustee
    'Usage
     
    
    Dim instance As AccessControlEntry
    Dim value As Trustee
     
    instance.Trustee = value
     
    value = instance.Trustee
    public Trustee Trustee {get; set;}
    public:
    property Trustee^ Trustee {
       Trustee^ get();
       void set (    Trustee^ value);
    }

    Property Value

    A Trustee that specifies a user account, group account, or logon session to which a AccessControlEntry applies.
    Exceptions
    ExceptionDescription
    The Trustee property is null.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also