Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Rem: Using WMI to Translate SIDs
 

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.







Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement