assignRole
Assigns a role to users (including the user who runs this command) whose login IDs are included in an ANSI or UTF-8 encoded CSV file. Use this command to assign users to a predefined role or to a granular role.
Before using this command, a Service Administrator uses the
uploadFile command to
upload the input file to an environment. The file format is as follows:
User Login
jane.doe@example.com
jdoeSee Assigning One Role to Many Users in Getting Started with Oracle Cloud.
Note:
- User Login values included in the file are not case-sensitive.
- Use double quotation marks to enclose role names that contain space character.
When done, the command prints information about each failed entry to the console. Review this information to understand why the command execution failed for some entries in the CSV file.
Applies to
Planning, Planning Modules, FreeForm, Financial Consolidation and Close, Tax Reporting, Account Reconciliation, Profitability and Cost Management, Enterprise Profitability and Cost Management, Oracle Enterprise Data Management Cloud, Narrative Reporting, Strategic Workforce Planning, and Sales Planning.
Required Roles
- To assign predefined roles:
- Service Administrator
- Identity Domain Administrator and any predefined role
-
To assign granular roles:
- Service Administrator
- Any predefined role and the Access Control - Manage granular role
Usage
epmautomate assignRole FILE_NAME ROLE where:
FILE_NAMEis the name of a CSV file containing user login IDs. Specify the CSV extension in lower case.ROLEis one of the following. This value is not case-sensitive:- If you are assigning users to predefined roles,
ROLEshould identify a predefined role applicable to the service. See Understanding Predefined Roles in Getting Started Guide for Administrators.For a description of these roles, see Managing Role Assignments at the Application Level in Administering Access Control
-
If you are assigning users to granular roles,
ROLEshould identify a granular role belonging to the business process in the current environment. Granular roles are listed in the Assign Granular Roles tab of Access Control. For a description of the granular roles for each business process, see these topics in Administering Access Control:
- If you are assigning users to predefined roles,
Examples
- Assign users to a predefined role:
epmautomate assignRole admin_role_file.csv "Service Administrator" - Assign users to a granular role:
epmautomate assignRole example_file.csv "Task List Access Manager"