Support Forums

query to get names from user ID

Batch, ASP, JScript, Kixtart, etc.
Forum rules
Do not post any licensing information in this forum.
User avatar
SMAndy
Posts: 3
Joined: Thu Jun 14, 2012 2:51 am

query to get names from user ID

Postby SMAndy » Thu Jun 14, 2012 2:51 am

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.
User avatar
SMAndy
Posts: 3
Joined: Thu Jun 14, 2012 2:51 am

query to get names from user ID

Postby SMAndy » Thu Jun 14, 2012 2:51 am

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.
User avatar
jvierra
Posts: 10021
Joined: Tue May 22, 2007 9:57 am
Contact:

query to get names from user ID

Postby jvierra » Thu Jun 14, 2012 3:43 am

type: dsget <userid>

dsget /?


Follow the instructions.


Return to “Other Scripting Languages”

Who is online

Users browsing this forum: No registered users and 2 guests