createUser Method Oracle Fusion Middleware Online Documentation Library

SecurityService 5-3

5.4 deleteRole Method

Use deleteRole method to delete a role from BI Publisher. This method returns a boolean value of the success of the method. Signature boolean deleteRoleString roleName, String adminUser, String adminPassword;

5.5 deleteUser Method

Use deleteUser method to delete a user from BI Publisher. This method returns a boolean value of the success of the method. Signature boolean deleteUserString userName, String adminUser, String adminPassword;

5.6 getBIPHTTPSessionInterval Method

This method returns the number of seconds an HTTP session interval is. Signature int getBIPHTTPSessionIntervalvoid; Table 5–3 Parameters for createUser Method Parameter Description String userName The user name to create. String password The password for the newly created user. String adminUser Specifies a BI Publisher user name for a user with administration privileges. String adminPassword Specifies the password for the administration user name. Table 5–4 Parameters for deleteRole Method Parameter Description String roleName The user name to delete. String adminUser Specifies a BI Publisher user name for a user with administration privileges. String adminPassword Specifies the password for the administration user name. Table 5–5 Parameters for deleteUser Method Parameter Description String userName The user name to delete. String adminUser Specifies a BI Publisher user name for a user with administration privileges. String adminPassword Specifies the password for the administration user name. 5-4 Developers Guide for Oracle Business Intelligence Publisher

5.7 getObjectSecurityXML Method

This method extracts the report-level permissions from security.xml for a BIEE integrated catalog. Signature byte[] getObjectSecurityXMLString adminUsername, String adminPassword, String objectAbsolutePath, boolean isRecursive;

5.8 getSecurityModel Method

This method returns BI Publishers security model in place. Signature String getSecurityModelvoid;

5.9 hasObjectAccess Method

This method verifies if the specified user has access to the report object referenced by reportAbsolutePath. This method first authenticates user with the specified credentials. Upon successful authentication, it verifies the users privileges to access the report object. Signature boolean hasObjectAccessString reportAbsolutePath, String roleName, String userID, String password;

5.10 hasObjectAccessInSession Method

This method verifies if a pre-authenticated bipSession has the privilege to access the report object relative to reportAbsolutePath. Table 5–6 Parameters for getObjectSecurityXML Method Parameter Description String adminUsername The user name for a BI Publisher user with administrator privileges. String adminPassword The password associated with the adminUserName. String objectAbsolutePath The absolute path to security.xml. boolean isRecursive Whether or not objectAbsolutePath is recursive. Table 5–7 Parameters for hasObjectAccess Method Parameter Description String reportAbsolutePath The path to the report object for which you want to verify the user’s access privileges. For example: HR ManagerEmployee ReportsEmployee Listing.xdo String roleName For future use. Ignore this parameter as it is not yet functional. String userID Specifies the BI Publisher user name. String password Specifies the password for the user name.