Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 24, 2011 08:36 AM by saedshaar1
Jun 25, 2010 10:38 AM|LINK
I try to save user data in AD in extensionAttribute4 but I got and error:
The attribute syntax specified to the directory service is invalid
There is no problem when I save data into properties like: "SN" or "Mobile"
I use code below:
public void SaveUserNotes(SearchResult user, string aboutMe)
DirectoryEntry de = new DirectoryEntry(ADpath, ADUserName, ADUserPassword);
DirectorySearcher search = new DirectorySearcher(de);
DirectoryEntry dataToUpdate = user.GetDirectoryEntry();
dataToUpdate.Properties["extensionAttribute4"].Value = aboutMe;
Jun 25, 2010 01:14 PM|LINK
Check if it's a text attribute and what size it has.
Jul 24, 2011 08:36 AM|LINK
I am facing the same issue, only the extensionAttribute's are not updating!
How did you solve it?