tags:

views:

22

answers:

1

i connect to ACtiveDirectory as Administratotr .

hr = pUser->Put(L"pwdLastSet",svar);

hr = pUser->SetInfo();

why hr = E_ACCESSDENIED

A: 

ok ifind it :)) i had to use ADsOpenObject() for connecting to object .but i used ADsGeObject()

sadegh