http://windowstricks.in/

We've moved from ganesh-windowstricks.blogspot.in to windowstricks.in,please update your feeds & links!

User to SID

5 January 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)

Syntax:

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

Example:

dsquery user -name johnson | dsget user -sid
sid
S-1-5-21-0220945662-3111232555-725789543-38967718
dsget succeeded

Related Articles

Group SID

Share this . . .

2 comments:

Anonymous,  18 February 2011 at 16:02  

How do I show the username of a SID
etc the inverted function?

Unknown 22 February 2011 at 16:12  

HI,

do you require SID to user name tool? then please check the below Link, it's a free tool from www.joeware.net

http://www.windowstricks.in/2010/01/sid-to-name.html

Post a Comment

Copyright   © 2014 - www.Windowstricks.in - all rights reserved | Powered by Blogger | Blogger template The Beach by Ourblogtemplates.com

Back to TOP