Creates a new organization role. For more information, see Role-based access control.

Syntax

CREATE ORGANIZATION ROLE [ IF NOT EXISTS ] <role_name>

Parameters

ParameterDescription
<role_name>The name of the role.

Examples

The following command will create a role account_manager:
CREATE ORGANIZATION ROLE "account_manager"
The following command will create a role “account_manager_2”:
CREATE ORGANIZATION ROLE IF NOT EXISTS "account_manager_2"
In the previous code example, if account_manager_2 exists, no error message is returned.