SDK Sample to add, modify, or delete users and their permissions in a folder permissions tab

Technote (FAQ)


How can I add/delete a user or modify a user's permissions in a folder permissions tab.


The attached sample allows the following tasks:
- add a user to a folder permissions tab
- modify permissions of a user in a folder permissions tab
- delete a user from a folder permissions tab

Note: This sample will query and update the Content Store.

Note that you must change the following values to match your environment before compiling the code:
String endPointURL = "

String nameSpaceID = "namespaceid";
String userName = "admin";
String password = "password";
String folderSearchPath = "/content/folder[@name='Folder_ExpressAuthors']";
String userSearchPath_AddModify =
String userSearchPath_Delete = "";

For those new to the SDK, please refer to the following document under IBM Cognos Software Development Kit documentation: IBM Cognos Software Development Kit Getting Started.

Product Alias/Synonym

SDK Sample permissions user

Document information

More support for:

Cognos Business Intelligence
Software Development Kit

Software version:

10.1, 10.1.1, 10.2

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Reference #:


Modified date:


Translate my page

Content navigation