I’m looking for a method to obtain the current logged in user’s full Active Direcory LDAP path. e.g.
LDAP://CN=john.smith,OU=UK,OU=Sales,DC=Company,DC=local
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Query the LDAP directory (e.g. the AD) with this filter:
The DN of the object returned is the thing you are looking for.
Something like this: