KazooSoft
asked on
C# setting extensionAttribute1 not working!?
Hey all!
I am creating accounts in AD which works perfectly. As soon as I try to add the extensionAttribute1 in the LDAP is fails:
if (!String.IsNullOrEmpty(ext ensionAttr ibute1))
{
newUser.Properties["extens ionAttribu te1"].Add( extensionA ttribute1) ;
}
Any ideas?
I am creating accounts in AD which works perfectly. As soon as I try to add the extensionAttribute1 in the LDAP is fails:
if (!String.IsNullOrEmpty(ext
{
newUser.Properties["extens
}
Any ideas?
ASKER
There is no error being produced which is baffling me!
I have manually checked the LDAP and the field will not exist like many other fields I am setting but they all work :S
Cheers,
I have manually checked the LDAP and the field will not exist like many other fields I am setting but they all work :S
Cheers,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Couple of quick questions that may help you get an answer,
What is the error message you are getting?
What happens if you do a check first to see if extensionattribute1 exists eg newuser.Properties.contain
Regards
James