Page 1 of 1

query to get names from user ID

Posted: Thu Jun 14, 2012 2:51 am
by SMAndy
Hi All.I have a big list of user ID's, and for us, a user name is just a number given to them, so i can't get any meaningful information about them from just that. Is there any command i can use to query the user ID to give me a name? I think something like dsquery can do it, but i'm not sure.For reference, i'll have a text file with the list of user ID's in it, ready to go.Thanks for any help.

query to get names from user ID

Posted: Thu Jun 14, 2012 2:51 am
by SMAndy
Hi All.I have a big list of user ID's, and for us, a user name is just a number given to them, so i can't get any meaningful information about them from just that. Is there any command i can use to query the user ID to give me a name? I think something like dsquery can do it, but i'm not sure.For reference, i'll have a text file with the list of user ID's in it, ready to go.Thanks for any help.

query to get names from user ID

Posted: Thu Jun 14, 2012 3:43 am
by jvierra
type: dsget <userid>

dsget /?

Follow the instructions.