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 an application role.

Before using this command, use the uploadFile command to upload files to an environment. The file format is as follows:

User Login
jane.doe@example.com
jdoe

See 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 the command execution finishes, EPM Automate 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:

  • Classic environments: Identity Domain Administrator and any predefined role (Service Administrator, Power User, User, or Viewer)
  • OCI environments: Service Administrator, or Identity Domain Administrator and any predefined role (Service Administrator, Power User, User, or Viewer)

To assign application roles: Service Administrator or Access Control - Manage

Usage

epmautomate assignRole FILE_NAME ROLE where:

Examples

  • Assign users to a predefined identity domain role:

    epmautomate assignRole admin_role_file.csv "Service Administrator"

  • Assign users to an application role:

    epmautomate assignRole example_file.csv "Task List Access Manager"