Tuesday, March 16, 2010

How find out a User Login Name

You can use this window server 2003 native command to find out users login details:

DSQUERY USER -name *LastNameOrFirstNameQuestionedUser* | DSGET USER -samid -display

For Example, if we want to find out fawad's login details then the command would be:

DSQUERY USER -name *fawad* | DSGET USER -samid -display

Output Screen from above command:

samid       display

FZI          Fawad Zikria
dsget succeeded

No comments:

Post a Comment