Subscribe to Windows IT Pro
May 05, 2003 12:00 AM

Rem: Using WMI to Translate SIDs

Windows IT Pro
InstantDoc ID #38671
Rating: (0)
Downloads
38671.zip

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.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.