TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
uo go
NA
4
12k
Error updating title and memberof in ad
Mar 28 2011 7:38 AM
Hi,
I have written a code to search a user in a modify a user's group in AD.
When I try to commit the changes I get an exception error
{"The requested operation did not satisfy one or more constraints associated with the class of the object. (Exception from HRESULT: 0x80072014)"}
Please see my code below:
string
entry.Properties["
title"
].Add(disp);
//entry.Properties["CN"].Add("gh");
try
{ entry.CommitChanges(); }
catch
(
Exception
ee)
string
dest = ee.Message; }
//entry.Close();
Wen I try to modift memberOf attribute I cant even modify it
Please advise
disp =
"GS_CTX_BO_AspectArchitect"
;
Reply
Answers (
1
)
object ret = usr.Invoke("SetPassword", userPassword); // is taking around 1.5 minutes to complete the process
object ret = usr.Invoke("SetPassword", userPassword); // is taking around 1.5 minutes to complete...