update resource object user
Hi,
I'm trying to update an AD resourceObject of type User.
I'm constructing my generic object but i guess i'm missing something.
I keep getting the error:
Unable to set user info: 'SetInfo(): 0X80072035: , 00002016: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0 , The server is unwilling to process the request.
The only thing I want is to update the groups attribute. So I want to add groups to a user.
Here's my object:
<Object>
<Attribute name='attributes'>
<Object>
<Attribute name='cn' value='Gebruiker 1'/>
<Attribute name='distinguishedName' value='CN=Gebruiker 1,OU=COO,OU=User Accounts,OU=Accounts,DC=MOTESTALFA,DC=MOTESTTOP,DC=VLAANDEREN,DC=BE'/>
<Attribute name='groups'>
<List>
<String>CN=BOB_BZ_EIB_Users,OU=Security Groups,OU=Groups,DC=MOTESTALFA,DC=MOTESTTOP,DC=VLAANDEREN,DC=BE</String>
<String>CN=B_EIB_GRP1_ROOTFOLDER_R,OU=Security Groups,OU=Groups,DC=MOTESTALFA,DC=MOTESTTOP,DC=VLAANDEREN,DC=BE</String>
</List>
</Attribute>
<Attribute name='objectGUID' value='0906e386182f6543a406b7424679bc9d'/>
<Attribute name='samAccountName' value='Gebruiker1'/>
</Object>
</Attribute>
<Attribute name='objectId' value='CN=Gebruiker 1,OU=COO,OU=User Accounts,OU=Accounts,DC=MOTESTALFA,DC=MOTESTTOP,DC=VLAANDEREN,DC=BE'/>
<Attribute name='objectName' value='Gebruiker1'/>
<Attribute name='objectType' value='User'/>
<Attribute name='resourceId' value='#ID#AD_MOTESTALFA'/>
<Attribute name='resourceName' value='AD_MOTESTALFA'/>
<Attribute name='resourceType' value='Windows Active Directory'/>
</Object>
Any help is welcome.
Kevin

