User to SID

By | January 5, 2010

Some time we require a SID for the user account in active directory, using the simple inbuilt windows command we can get the User to SID

You can use the below command to find the User to SID

User to SID (Username to SID)

Username: Johnson (Pre-Win2k Name)


dsquery user -name “username” | dsget user -sid


dsquery user -name johnson | dsget user -sid
dsget succeeded

Related Articles

Group SID

Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkedin

2 thoughts on “User to SID

Leave a Reply

Your email address will not be published. Required fields are marked *