Hierarchy Developer's Guide for Oracle Self-Service E-Billing > Basic Hierarchy Manager Use Cases > Creating and Modifying Hierarchies, Using APIs >

Adding and Removing Users from Hierarchy Manager Access Control (HBAC)


You can add or remove users from Hierarchy Management Access Control (HBAC), as shown in the following examples.

Code Example: Adding or Removing User Access

The following code shows an example of adding and removing user access:

IHierarchyNode.addUserAccess(String userId)

IHierarchy.addUserAccess(IOMFObject linkTarget, String userId)

IHierarchyNode.removeUserAccess(String userId)

Code Example: Retrieving Authorized Users

The following code shows an example of retrieving authorized users:

IHierarchyNode.getUsers()

IHierarchyNode.getAllAuthorizedUsers()

Hierarchy Developer's Guide for Oracle Self-Service E-Billing Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.