System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / AccessControlEntry Class / AccessControlEntry Constructor / AccessControlEntry Constructor(Trustee)
A Trustee that specifies a user, group, computer, domain, or alias.



In This Topic
    AccessControlEntry Constructor(Trustee)
    In This Topic
    Initializes a new instance of the AccessControlEntry class that specifies a trustee to which rights are granted or denied.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal trustee As Trustee _
    )
    'Usage
     
    
    Dim trustee As Trustee
     
    Dim instance As New AccessControlEntry(trustee)
    public AccessControlEntry( 
       Trustee trustee
    )
    public:
    AccessControlEntry( 
       Trustee^ trustee
    )

    Parameters

    trustee
    A Trustee that specifies a user, group, computer, domain, or alias.
    Exceptions
    ExceptionDescription
    The trustee parameter 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