This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Active Directory user accounts: Write permission denied for value "Employee" while changing UID_Person value in ADSAccount.

Hello,

I've been trying to update UID_Person value in ADSAccount table in my script.

'... something fancy

Dim ADSAccount As ISingleDbObject = Connection.CreateSingle("ADSAccount", UID_ADSAccount)
ADSAccount.PutValue("UID_Person", UID_SubIdentity)

'... something fancy continue

This fragment gives me this error: "Active Directory user accounts: Write permission denied for value "Employee"."

When I change ADSAccount.PutValue call to the VID_PutValueSafe(ADSAccount, "UID_Person", UID_SubIdentity) the error is the same. ADSAccount has been assigned throught the Account definition but the same happens when the account is assigned directly.

 

Cheers,

Karol

Parents Reply Children
No Data