GPTrustee Class

 

Represents a user, group, or security group in the domain.

Namespace:   Microsoft.GroupPolicy
Assembly:  Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)

Inheritance Hierarchy

System.Object
  Microsoft.GroupPolicy.GPTrustee

Syntax

public sealed class GPTrustee : IEquatable<GPTrustee>
public ref class GPTrustee sealed : IEquatable<GPTrustee^>
[<Sealed>]
type GPTrustee = 
    class
        interface IEquatable<GPTrustee>
    end
Public NotInheritable Class GPTrustee
    Implements IEquatable(Of GPTrustee)

Properties

Name Description
System_CAPS_pubproperty Domain

Gets the domain of the trustee in NetBIOS format, resolved from the SID.

System_CAPS_pubproperty DSPath

Gets the fully qualified distinguished name of the security principal in the directory service.

System_CAPS_pubproperty Name

Gets the relative distinguished name of the trustee, resolved from the SID.

System_CAPS_pubproperty Sid

Gets the SID of the trustee.

System_CAPS_pubproperty SidType

Gets the type of the SID. This is the type of security principal (trustee).

Methods

Name Description
System_CAPS_pubmethod Equals(GPTrustee)

Determines whether the specified trustee is equal to this trustee.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This class wraps the IGPMTrustee COM interface.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.GroupPolicy Namespace

Return to top