Rem: Using WMI to Translate SIDs
You can use the WMI Win32_SID class to translate a SID into a username.
Bob Wells
May 4, 2003
1 Min Read
Can I use Windows Management Instrumentation (WMI) to translate a SID to a username?
Yes you can, by using the WMI Win32_SID class, as the script in Listing 1, page 9, shows. To use this script, simply change the value assigned to the strSID variable to the SID you want to translate.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like