dissect.database.ese.ntds.objects.group

Module Contents

Classes

Group

Represents a group object in the Active Directory.

class dissect.database.ese.ntds.objects.group.Group(db: dissect.database.ese.ntds.database.Database, record: dissect.database.ese.record.Record)

Bases: dissect.database.ese.ntds.objects.top.Top

Represents a group object in the Active Directory.

References

__object_class__ = 'group'
property sam_account_name: str

Return the group’s sAMAccountName.

managed_by() collections.abc.Iterator[dissect.database.ese.ntds.objects.Object]

Return the objects that manage this group.

members() collections.abc.Iterator[dissect.database.ese.ntds.objects.User]

Yield all members of this group.

is_member(user: dissect.database.ese.ntds.objects.User) bool

Return whether the given user is a member of this group.

Parameters:

user – The User to check membership for.