Users Advanced: UpdateUserAccessAccountsMakes changes to the list of users who have access to an account

Usage Notes

The AccessUpdates parameter will be in the following format:

<accounts>
<remove>
AccountID
</remove>
<remove>
AccountID
</remove>
<add>
AccountID
</add>
<add>
AccountID
</add>
</accounts>

The service will always process the remove nodes first, then the add nodes second. The order of the add and remove nodes does not matter.
The root node name does not matter; we use <accounts /> for simplicity, but you can use <foobar /> if you want.
If you specify an AccountID to be removed and added, the end result will be that the User is granted access.

You cannot remove access to the Account to which a User belongs.
To restrict a User's access to the entire system, use UpdateUserPermissions.

Example of Returned Data

<UpdateUserAccessAccounts Success="?" Message="" />

Test Method

ParameterValueTypeUsage
UserIDint32Unique user identifier
AccessUpdatesstringSee Usage Notes.
An XML node to containing the added and removed Account IDs.