Adds new permissions to the users' set of permissions for a specified repository node or resource. When you add permissions, the existing permissions are always kept for the user, and the new permissions are appended. For example if you add a modify permission for a user that currently has read and remove permissions, that user will now have read, remove, and modify permissions.


The following parameters are used:

Parameter Example Description
action AddPermissionsRequest

Specifies the method name to add permissions for a user.

UserName user1

Specifies the user to add permissions.

ResourcePath /Samples/NamedTables/

Specifies the specific repository node (directory) or resource to add the permissions. The resources specified in resourcePath are listed from the top level of the repository http://<server>:<port>/RepositoryService/repository/default/.

Permissions add

Specifies the permissions. There are five valid permission types: read, all, add, modify, and remove.

Recursive false

Specifies if this operation should be performed recursively on all child nodes of the given node in the repository. The default for recursive permission setting is false. If setting permissions on individual resources in the repository, the Recursive option will have no effect.


The following example adds the modify permission for user1 on the NamedTables node in the repository.

<?xml version="1.0"?>  
<soapenv:Envelope xmlns:soapenv=""