How do I display the CommonName and the SamAccountName of a group via the Command Line Interface?
Directory and Resource Administrator 6.x
The Command Line Interface (CLI) does not allow the ability to display the CommonName (CN) and SamAccountName when using the DISPLAY parameter.
You can get a list of the CN and SamAccountName (downlevel name) using the following methods.
File | Enter Design Mode
Select Queries tab under Objects
Select Create Query in Design view
Select Accounts tab and then click Add
Select Close on the Show Table dialog box
Doubleclick on samAccountName, fullname, McsClass
Uncheck the Show checkbox for the McsClass field.
Under the McsClass column, enter group for the criteria
Select Query from the menu and then run.
Select File | Save and save the query with a unique name.
Select File | Export
In the save dialog box select Text files (*.txt, *.csv, *.tab, *.asc) for the Save as Type and click Save All
Select Delimited from the choices made available and click Next
Select Comma from the choices made available as delimiter and click Next
style="FONT-SIZE: 14pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt">Specify a file location when asked Export to File or leave at default location and click Finish
The EA GROUP command with the display switch only allows you to display group members. In addition, the 'target' or group name that the CLI uses is the 2000 name.