Users Advanced: UpdateUserPermissionsMakes changes to the list of permissions for a specific user

Usage Notes

The PermissionUpdates parameter will be in the following format:

<permissions>
<remove>
PermissionID
</remove>
<remove>
PermissionID
</remove>
<add>
PermissionID
</add>
<add>
PermissionID
</add>
</permissions>

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 <permissions /> for simplicity, but you can use <foobar /> if you want.
If you specify a PermissionID to be removed and added, the end result will be that the User is granted that permission.

You cannot assign Permissions that your User does not have.

Example of Returned Data

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

Test Method

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