xp_enumgroups

Description

(Windows only) Displays groups for a specified Windows NT domain.

Syntax

xp_enumgroups [domain_name]

Parameters

domain_name

is the Windows NT domain for which you are listing user groups.

Examples

Example 1

Lists all user groups on the Windows NT computer running XP Server:

xp_enumgroups

Example 2

Lists all user groups in the PCS domain:

xp_enumgroups 'PCS'

Usage

Permissions

By default, only a System Administrator can execute xp_enumgroups. A System Administrator can grant this permission to other users.