データベース構成ファイルおよび許可システム・カタログ視点 (SYSCAT.DBAUTH) 内で検出した値から現行ユーザーの権限を報告します。
許可
なし
必須接続
データベース。 暗黙接続が可能な場合には、省略時データベースへの接続が確立されます。
>>-GET AUTHORIZATIONS------------------------------------------><
コマンド・パラメーター
なし
例
以下に示すのは、GET AUTHORIZATIONS の出力例です。
Administrative Authorizations for Current User Direct SYSADM authority = NO Direct SYSCTRL authority = NO Direct SYSMAINT authority = NO Direct DBADM authority = YES Direct CREATETAB authority = YES Direct BINDADD authority = YES Direct CONNECT authority = YES Direct CREATE_NOT_FENC authority = YES Direct IMPLICIT_SCHEMA authority = YES Direct LOAD authority = YES Indirect SYSADM authority = YES Indirect SYSCTRL authority = NO Indirect SYSMAINT authority = NO Indirect DBADM authority = NO Indirect CREATETAB authority = YES Indirect BINDADD authority = YES Indirect CONNECT authority = YES Indirect CREATE_NOT_FENC authority = NO Indirect IMPLICIT_SCHEMA authority = YES Indirect LOAD authority = NO |
使用上の注意
直接権限は、ユーザー ID に対する権限を与える明示コマンドによって獲得されます。
それに対し、間接権限とは、 ユーザーが所属するグループによって獲得された権限を基盤としている権限のことをいいます。
注: | PUBLIC は、全ユーザーが所属することになる特殊なグループです。 |