Forum Discussion
Khyler
Altostratus
ok so say i'm logging in, the original AD query pulls my "manager" attribute, and returns the distinguished name "CN=John Smith,OU=something,OU=something, etc.", how do i then use another AD query as you're saying, to pull John Smiths' samaccountname?
Jan 25, 2021
Hi,
Ok I think I didn't understand your issue, but now I hope I do.
When you perform an AD query it returns attributes of the user (either the user that is performing the query or what you are using for the search filter)
In what attribute(s) is the name of the manager stored? And can these attributes is some way be re-used to query for the sAMAccountname of the manager?
Cheers,
Kees