uo go

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";

Answers (1)