Resolution
goal
What is the syntax to add one user to multiple groups using the Command Line Interface?
fact
Directory and Resource Administrator 6.x
fact
Directory and Resource Administrator 7.x
fix
note
The group names in the text file should be listed in a column by Group name (pre-Windows 2000) with each group on a separate line.
What is the syntax to add one user to multiple groups using the Command Line Interface?
fact
Directory and Resource Administrator 6.x
fact
Directory and Resource Administrator 7.x
fix
To add a user account to multiple groups with one operation, please use the syntax below, based on the EA.exe command on a Directory and Resource Administrator client workstation:
FOR /F "TOKENS=1 DELIMS=" %1 IN (C:\GrpNames.txt) DO EA GROUP %1 MEMBERADD account_name
The EA.exe command is located in the C:\Program Files\NetIQ\DRA directory by default.
note
The group names in the text file should be listed in a column by Group name (pre-Windows 2000) with each group on a separate line.
Additional Information
Formerly known as NETIQKB17531