bergsprekken
asked on
dsget search by samid
I have a username/samid and need to find the email address of this user.
I know only the account name/samid of the user and want to find the email of this user.
Can I do that with dsget or dsquery? I know how to search for a full name of a person but I cant seem to find any info on how to search by samid, is it possible?
I tried "dsget user -samid username", but that didnt work..
I know only the account name/samid of the user and want to find the email of this user.
Can I do that with dsget or dsquery? I know how to search for a full name of a person but I cant seem to find any info on how to search by samid, is it possible?
I tried "dsget user -samid username", but that didnt work..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
this simple script will give u all the details about the user account...
ASKER
Thanks for the command description and exmple rmcgregor it was exactly what i needed. And thanks for posting the script anuroopkoka2005.