Using the AuthId parameter
Authorization examples for using the AuthID parameter
The examples in this section show the authorizations that are normally granted during and after installation.
The authorizations that you grant depend on your own security policies. For definitions of the variables shown in these examples, see Db2-authorizations-for-plans-packages-and-collections.
The following example shows the authorizations that provide access to the High-speed Apply Engine plan and restart table package. These authorizations are normally granted during installation.
GRANT EXECUTE ON PLAN aptPlan TO userid01;
GRANT EXECUTE ON PACKAGE BMCAPT.APTREB2 TO userid01;
GRANT EXECUTE ON PACKAGE BMCAPT.APTREB2 TO userid01;
The following shows additional authorizations that are required to run High-speed Apply Engine. These authorizations are normally granted after installation.
GRANT INSERT, UPDATE, SELECT, DELETE ON
tableNames TO userid01;
GRANT SYSADM TO userid02;
or
GRANT SYSCTRL TO userid02;
tableNames TO userid01;
GRANT SYSADM TO userid02;
or
GRANT SYSCTRL TO userid02;
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*