dsget search by samid
Posted on 2009-04-15
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..