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 23, 2021
You could do this in the first query. Add the sAMAccountname in the required attributes (see screenshot).