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.

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.