Skip to main content
  • Creates a new role.

    Note: This method should be used for on-premise deployments only.

    Parameters

    • name: string

      Name of the role to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<CreateRoleResponse>

    Promise<Types.CreateRoleResponse> - Promise resolving to the response