unassignRole

Removes a role currently assigned to the users, including the user who runs this command, whose login IDs are included in the ANSI or UTF-8 encoded CSV file that is used with this command. You can use this command to remove the assignment of a predefined role or an application role.

The CSV file format is as follows:

User Login
jane.doe@example.com
jdoe

A Service Administrator uses the uploadFile command to upload the file to the environment.

Note:

Use double quotation marks to enclose role names that contain the 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, Sales Planning, and Strategic Workforce Planning.

Required Roles

  • To remove predefined role assignments:
    • Classic environments: Identity Domain Administrator and any predefined role
    • OCI environments:
      • Service Administrator or and any predefined role
      • Identity Domain Administrator and any predefined role
  • To remove application roles:

    • Service Administrator
    • Any predefined role and the Access Control - Manage application role

Usage

epmautomate unassignRole FILE_NAME ROLE where:

Examples

  • Unassign users from a predefined identity domain role:

    epmautomate unassignRole remove_roles.csv "Service Administrator"

  • Unassign users from an application role:

    epmautomate unassignRole example_file.csv "Task List Access Manager"