Granting authorities

Most authorities are granted in the same manner. DBA authority can grant any authority. PERMS ADMIN authority can grant any authority except DBA and REMOTE DBA.

StepsGranting RESOURCE permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT RESOURCE TO userid

StepsGranting DBA permissions to a user ID

  1. Connect to the database as a user with DBA authority.

  2. Type and execute the following SQL statement:

GRANT DBA TO userid

StepsGranting OPERATOR permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT OPERATOR TO userid

StepsGranting PERMS ADMIN permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT PERMS ADMIN TO userid

StepsGranting RESOURCE permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT RESOURCE TO userid

StepsGranting SPACE ADMIN permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT SPACE ADMIN TO userid

StepsGranting USER ADMIN permissions to a user ID

  1. Connect to the database as a user with DBA or PERMS ADMIN authority.

  2. Type and execute the following SQL statement:

GRANT USER ADMIN TO userid

Notes