xp_enumgroups
Provides a list of local Microsoft Windows groups or a list of global groups that are defined in a specified Windows domain.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Not stated in the Microsoft summary.
Syntax at a glance
xp_enumgroups [ 'domain_name' ]
Work example
Provides a list of local Microsoft Windows groups or a list of global groups that are defined in a specified Windows domain.
Read the permission and security notes. Describe the host or instance effect without running the procedure.
Check your work Which external resource or server capability could this procedure reach?
Open Microsoft Learn for full syntax, permissions, and details for your version.