GetUserInfo V02.07.00cpp Joe Richards (joe@joeware.net) September 2003
Usage:
GetUserInfo [(domain)(\\servername)\]userid [/p]
domain Domain to execute command against
server Server to execute command against
userid Userid to get info for.
/p Displays primary group info.
If domain/server not specifed uses local machine
If . specified for userid, enumerate all local/global accounts
Ex:
getuserinfo .
Enumerates accounts on local machine
getuserinfo \\server\.
Enumerates accounts on machine named server
getuserinfo domain\.
Enumerates accounts on domain named domain
getuserinfo username
Displays info for local userid named username
getuserinfo \\server\username
Displays info for userid on machine server named username
getuserinfo domain\username
Displays info for userid on domain named domain for user named username
This software is Freeware. Use it as you wish at your own risk.
If you have improvement ideas, bugs, or just wish to say Hi, I
receive email 24x7 and read it in a semi-regular timeframe.
You can usually find me at joe@joeware.net