notifyBIEEPreferencesUpdated Method notifyBIEEPreferencesUpdatedWithString Method removeRolesFromUser Method

SecurityService 5-7 Signature boolean notifyBIEEPreferencesUpdatedWithStringString bieeSessionID, String userPrefesXML;

5.17 removeRolesFromUser Method

Use removeRolesFromUser method to remove roles from a user in BI Publisher. Signature String[] removeRolesFromUserString userName, String[] roleNames, String adminUser, String adminPassword;

5.18 updateRole Method

Use updateRole method to update the description of a role that currently exists in BI Publisher. Signature boolean updateRoleString currentRoleName, String newDescription, String adminUser, String adminPassword;

5.19 updateUser Method

Use updateUser method to update a users password in BI Publisher. This method returns a boolean value of the success of the method. Table 5–14 Parameters for notifyBIEEPreferencesUpdatedWithString Method Parameter Description String bieeSessionID The session ID for Oracle Business IntelligenceBI Publisher integration. String userPrefesXML The XML data that contain user preferences. Table 5–15 Parameters for removeRolesFromUser Method Parameter Description String userName The user from which to delete the role or roles. String[] roleNames The name of the role to delete from the user. For example, Financial Users. 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–16 Parameters for updateRole Method Parameter Description String currentRoleName The name of the role to update. String newDescription The updated description of the role to apply. 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-8 Developers Guide for Oracle Business Intelligence Publisher Signature boolean updateUserString currentUsername, String newPassword, String adminUser, String adminPassword;

5.20 validateLogin Method

Use the validateLogin method to validate that a UserID and Password have the privilege to access the Oracle BI Publisher report server. Signature boolean validateLoginString userID, String password; Table 5–17 Parameters for updateUser Method Parameter Description String currentUserName The user name to update. String newPassword The new password to assign to the user name. 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–18 Parameters for validateLogin Method Parameter Description String userID Specifies the BI Publisher user name. String password Specifies the password for the user name.