36.117 SET_GROUP_USER_GRANTSプロシージャ
このプロシージャは、指定されたユーザーのグループ権限付与を変更します。
構文
APEX_UTIL.SET_GROUP_USER_GRANTS (
p_user_name IN VARCHAR2,
p_granted_group_names IN apex_t_varchar2 );
パラメータ
表36-101 SET_GROUP_USER_GRANTSプロシージャのパラメータ
パラメータ | 説明 |
---|---|
|
ターゲット・ユーザー名。 |
|
|
例
この例では、ユーザー・グループ(MANAGER)およびユーザー(Example User)を作成した後、MANAGERをExample Userに付与します。
apex_util.create_user_group (
p_group_name => 'MANAGER' );
apex_util.create_user (
p_user_name => 'Example User',
p_web_password => 1_random_password );
-- grant MANAGER to Example User
apex_util.set_group_user_grants (
p_user_name => 'Example User',
p_granted_group_names => apex_t_varchar2('MANAGER') );
親トピック: APEX_UTIL