Help - users full names in the AD

  • פותח הנושא tul1
  • פורסם בתאריך

tul1

New member
Help - users full names in the AD

Hi I need to get all users full names under OU in the AD. I tried to look in dsquery and dsget, couldn’t find the correct one. Can you help? Hag Samech!
 
LDAP

do you mean the AD displayName attribute? For email address, you'd need to do an LDAP lookup to AD, searching based on the name the user used to authenticate, and retrieve the attributes you want (like mail and displayName, if that's what you meant). You would basically just use the DirectorySearcher class for that.​
 
למעלה