Add Members to a Group or Role in the Cognos Namespace

You can use the BI Bus API to modify the membership of a group or role in the Cognos namespace by adding new members. For example, you want to add a user to the Server Administrators role so that user can create deployment packages.

You can also create a new group or role (Create a Group or Role in the Cognos Namespace) or remove members from a group or role (Remove Members from a Group or Role in the Cognos Namespace) in the Cognos namespace.

Procedure

  1. Log on to IBM® Cognos® Analytics using an account with the necessary permissions.
  2. Create the bibus » account, bibus » group, or bibus » role objects to add to the group or role.
    Note: Roles can also have other roles as members.
  3. If you are adding members to a group or role that has an existing membership list, use the content » query(searchPath, properties, sortBy, options) method to retrieve the members property or the members property.
  4. Add the new bibus » account, bibus » group, or bibus » role objects to the membership list.
  5. Use the content » update(objects, options) method to save the changes in the content store.