Translate SUID to string?

  • Thread starter Thread starter Thunder$truck
  • Start date Start date
T

Thunder$truck

I'm working on an enterprise sysadm diag application and was
wondering is anyone had a sample of VB.NET code for translating the
SUID (on a remote machine) from HKEY_USERS into a string.

For example:

User
{HKEY_USERS\S-1-5-21-3746163187-2696873875-1108763533-1108}
Tom.Jones.Adm

is logged onto machine : NTPWKSTN22VA

Any help would be greatly appreciated

T$
 
Well, if you have access to the remote registry, take a look in

the SID's
\Software\Microsoft\Windows\CurrentVersion\Explorer\LogonUserName

that should contain the user's full name...

Cheers,
Lubos
 
Back
Top