Get the name of a user or group by SID

Getting the name of a user or group in Windows by their SID (security identifier) ​​according to the localization of the operating system.

Options

sid -   SID of group or user

SIDs of some major user groups:

  • S-1-1-0             All
  • S-1-5-32-544     Administrators
  • S-1-5-32-545     Users
  • S-1-5-11           Verified
Result

User or group name on success and an empty string on failure.

Author: admin

1 thought on “Get the name of a user or group by SID

Comments are closed.