How can I disable a large number of user accounts in a bulk operation?
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
The Command Line Interface syntax for disabling user accounts is
EA USER user_id UPDATE ACTIVE:N
You can use the above command with a 'for /f' loop to disable multiple accounts from a text file. The command to perform a batch disabling of accounts from a text file is as follows.
FOR /F "TOKENS=1 DELIMS=" %1 IN (c:\fully_qualified_path) DO EA USER %1 UPDATE ACTIVE:N
The text file must have the userids listed one below the other like below: