TestimoX

API Reference

Class

GroupMembershipEntry

Namespace ADPlayground
Assembly ADPlayground
Implements
IEquatable<GroupMembershipEntry>

Represents a single entry in a group's membership.

Inheritance

  • Object
  • GroupMembershipEntry

Constructors

GroupMembershipEntry 2 overloads
public GroupMembershipEntry() #

Initializes a new instance of the GroupMembershipEntry class.

public GroupMembershipEntry(IEnumerable<GroupMembershipEntry> members) #

Initializes a new instance of the GroupMembershipEntry class with the specified members.

Parameters

members System.Collections.Generic.IEnumerable{ADPlayground.GroupMembershipEntry} requiredposition: 0
Optional collection of child members.

Methods

AddMember(ADPlayground.GroupMembershipEntry member) #

Adds a child member to the collection.

Parameters

member ADPlayground.GroupMembershipEntry required
The member to add.
Equals 2 overloads
public virtual Boolean Equals(GroupMembershipEntry other) #
Returns: Boolean

Determines whether the specified entry is equal to the current entry.

Parameters

other ADPlayground.GroupMembershipEntry requiredposition: 0
The entry to compare with the current entry.

Returns

true if the specified entry has the same distinguished name; otherwise, false.

public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32

Properties

public String GroupName { get; set; } #

Gets or sets the name of the root group.

public String Name { get; set; } #

Gets or sets the object name.

public String SamAccountName { get; set; } #

Gets or sets the sAMAccountName.

public String DomainName { get; set; } #

Gets or sets the domain name of the object.

public String DisplayName { get; set; } #

Gets or sets the display name.

public Boolean Enabled { get; set; } #

Gets or sets a value indicating whether the object is enabled.

public GroupType GroupType { get; set; } #

Gets or sets the group type flags.

public GroupScope GroupScope { get; set; } #

Gets or sets the group scope.

public DirectoryObjectType ObjectType { get; set; } #

Gets or sets the directory object type.

public Int32 DirectMembers { get; set; } #

Gets or sets the number of direct non-group members.

public Int32 DirectGroups { get; set; } #

Gets or sets the number of direct group members.

public Int32 IndirectMembers { get; set; } #

Gets or sets the number of indirect members.

public Int32 TotalMembers { get; set; } #

Gets or sets the total member count.

public Int32 Nesting { get; set; } #

Gets or sets the nesting level.

public Boolean CircularDirect { get; set; } #

Gets or sets a value indicating whether the object is a direct circular reference.

public Boolean CircularIndirect { get; set; } #

Gets or sets a value indicating whether the object is an indirect circular reference.

public Boolean CrossDomain { get; set; } #

Gets or sets a value indicating whether the object resides in another domain.

public Boolean CrossForest { get; set; } #

Gets or sets a value indicating whether the object resides in another forest.

public String ParentGroup { get; set; } #

Gets or sets the parent group name.

public String ParentGroupDomain { get; set; } #

Gets or sets the parent group domain.

public String ParentGroupDistinguishedName { get; set; } #

Gets or sets the parent group distinguished name.

public String GroupDomainName { get; set; } #

Gets or sets the domain name of the root group.

public String Path { get; set; } #

Gets or sets the full nesting path from the root group to this entry (e.g., "Domain Admins → Ops-Admins → svc.veeam").

public String DistinguishedName { get; set; } #

Gets or sets the distinguished name.

public String Sid { get; set; } #

Gets or sets the security identifier.

public String Description { get; set; } #

Gets or sets the description (when available).

public Nullable<DateTime> LastLogonTimestamp { get; set; } #

Gets or sets the lastLogonTimestamp converted to UTC.

public IReadOnlyList<GroupMembershipEntry> Members { get; } #

Gets the child member entries.