How to export attributes such as GlobalUsername and FullName of all Global users from provisioning directory?
We can use the ETAUTIL command to list Global User name and Full name attributes of global users.
etautil -u <imadmin> -p <password> select 'eTGlobalUserContainerName=Global Users,eTNamespaceName=CommonObjects' eTGlobalUser eTGlobalUserName=* list eTGlobalUserName eTFullName
We can write the result to a file
etautil -u <imadmin> -p <password> select 'eTGlobalUserContainerName=Global Users,eTNamespaceName=CommonObjects' eTGlobalUser eTGlobalUserName=* list eTGlobalUserName eTFullName >>filename
If there is a huge number of users, the above command could affect the performance of Provisioning server.
We can even get all the results with eTGlobalUserName starts with a Character or String (To get all users whose username starts with 'a')
etautil -u <imadmin> -p <password> select 'eTGlobalUserContainerName=Global Users,eTNamespaceName=CommonObjects' eTGlobalUser eTGlobalUserName=a* list eTGlobalUserName eTFullName >>filename.csv
Replace the <imadmin> with Provisioning Directory admin Id such as superadmin or etaadmin
Replace the <password> with the imadmin password