Brian,
I like
Richard's script. Great stuff to learn from.
BUT -
just in case you want a compiled tool, check out a fellow MVP's site for tools
that will do what you need. Joe even bills it as the complement to
getsid.exe.
Find
Joe Richard's site and collection of tools at:
Rick Kingslan - Microsoft
Certified Trainer
MCSE+I on Windows NT 4.0
MCSE on Windows 2000
MVP [Windows NT/2000 Server]
"Any sufficiently advanced technology
is indistinguishable from magic."
--- Arthur C. Clarke
MCSE+I on Windows NT 4.0
MCSE on Windows 2000
MVP [Windows NT/2000 Server]
"Any sufficiently advanced technology
is indistinguishable from magic."
--- Arthur C. Clarke
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Brian Svidergol
Sent: Wednesday, October 23, 2002 6:38 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Opposite of GETSID.EXE (OT?)All-
I am looking for a utility (or script) that will translate an account's SID into an account name. I want to feed the utility (or script) the SID and have the account named returned via the command prompt.
Basically, the tool would do the opposite of getsid.exe (from Win2k Resource Kit). getsid.exe will give me the SID if I supply the account name.
I've looked around but can't find anything.
Any ideas?
Thanks.
Brian
