Finding a user's manager record in Active Directory

后端 未结 3 537
猫巷女王i
猫巷女王i 2021-01-15 05:12

Using Active Directory, am trying to find the SamAccountName and email of the user’s manager.

I find the logged on user in the AD by search where sAMAccountName = D

3条回答
  •  醉酒成梦
    2021-01-15 05:45

    The entry for the manager is the manager's Binding String. You can feed it back into a request to active directory by binding it to an object that will return the manager's information.

提交回复
热议问题