> For the complete documentation index, see [llms.txt](https://www.netexec.wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.netexec.wiki/ldap-protocol/enumerate-group-members.md).

# Enumerate Domain Groups

Enumerate all groups in the Domain:

```bash
nxc ldap <ip> -u <username> -p <password> --groups
```

To enumerate all members in specific group via LDAP:

```bash
nxc ldap <ip> -u <username> -p <password> --groups "Domain Admins"
```
