Create a Group or Role in the Cognos Namespace

Groups and roles are created in IBM® Cognos® Analytics to address application security and administration needs specific to IBM Cognos Analytics. You can use the BI Bus API to create groups and roles in the Cognos namespace.

You can also add members to an existing group or role (Add Members to a Group or Role in the Cognos Namespace), or delete a group or role from the Cognos namespace (Remove a Group or Role from the Cognos Namespace).

Procedure

  1. Log on to IBM Cognos Analytics using an account with the necessary permissions.
  2. Create a new bibus » group or bibus » role object.
  3. Specify the properties you want for your bibus » group or bibus » role.
  4. Use the bibus » addOptions class to specify the options for the add operation.
  5. Use the report » add(parentPath, object, options) method to create the new group or role object.