Windows Username to SSID and Reverse

From KlavoWiki
Revision as of 22:20, 15 August 2018 by David (talk | contribs) (Created page with "= Username to SSID = <pre> wmic useraccount where name="my-username" get sid </pre> = SSID to Username = <pre> wmic useraccount where sid='S-1-2-12-44444444-5555555555-666666...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Username to SSID

wmic useraccount where name="my-username" get sid

SSID to Username

wmic useraccount where sid='S-1-2-12-44444444-5555555555-6666666666-777777' get name

Note : Expect to wait 5 or 10 minutes (possibly longer) for a result depending on the size of your domain.