91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ebs 根據一個用戶的創建另外一個用戶并添加職責

發布時間:2020-07-11 00:18:34 來源:網絡 閱讀:503 作者:llc018198 欄目:關系型數據庫

--創建用戶
DECLARE
v_user_name VARCHAR2 (100) := upper('&Enter_User_Name');
v_description VARCHAR2 (100) := 'NEW Test User';
BEGIN
 fnd_user_pkg.createuser
(x_user_name => v_user_name,
 x_owner => NULL,
 x_unencrypted_password => '&input_password',
 x_session_number => 0,
 x_start_date => SYSDATE,
 x_end_date => NULL,
 x_last_logon_date => NULL,
 x_description => v_description,
 x_password_date => NULL,
 x_password_accesses_left => NULL,
 x_password_lifespan_accesses => NULL,
 x_password_lifespan_days => NULL,
 x_employee_id => NULL,
 x_email_address => NULL,
 x_fax => NULL,
 x_customer_id => NULL,
 x_supplier_id => NULL,
 x_user_guid => NULL,
 x_change_source => NULL
 );
 COMMIT;
END;

select * from fnd_user a where a.user_name='TEST'




DECLARE
  v_user_name      VARCHAR2(100) := upper('&Enter_User_Name');
  v_description    VARCHAR2(100) := 'New User';
  v_app_short_name VARCHAR2(100);
  v_resp_key       VARCHAR2(100);
  CURSOR user_cur IS
    select a.application_short_name, r.responsibility_key
      from fnd_responsibility_vl r, fnd_application_vl a
     where r.application_id = a.application_id
       and R.responsibility_ID IN
           (SELECT RESPONSIBILITY_ID
              FROM fnd_user_resp_groups
             WHERE USER_ID = '&from_userid'
               AND END_dATE IS NULL);
  user_rec user_cur%ROWTYPE;
BEGIN
  fnd_user_pkg.createuser(x_user_name                  => v_user_name,
                          x_owner                      => NULL,
                          x_unencrypted_password       => '&input_password',
                          x_session_number             => 0,
                          x_start_date                 => SYSDATE,
                          x_end_date                   => NULL,
                          x_last_logon_date            => NULL,
                          x_description                => v_description,
                          x_password_date              => NULL,
                          x_password_accesses_left     => NULL,
                          x_password_lifespan_accesses => NULL,
                          x_password_lifespan_days     => NULL,
                          x_employee_id                => NULL,
                          x_email_address              => NULL,
                          x_fax                        => NULL,
                          x_customer_id                => NULL,
                          x_supplier_id                => NULL,
                          x_user_guid                  => NULL,
                          x_change_source              => NULL);
  COMMIT;
  OPEN user_cur;
  LOOP
    FETCH user_cur
      INTO user_rec;
    EXIT WHEN user_cur%NOTFOUND;
    fnd_user_pkg.addresp(username       => v_user_name,
                         resp_app       => user_rec.application_short_name,
                         resp_key       => user_rec.responsibility_key,
                         security_group => 'STANDARD',
                         description    => NULL,
                         start_date     => SYSDATE,
                         end_date       => null);
  END LOOP;
  CLOSE user_cur;
  commit;
END;

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

闽侯县| 望都县| 东乡县| 嘉荫县| 玉山县| 奉贤区| 平乡县| 观塘区| 长宁县| 随州市| 安图县| 崇明县| 景泰县| 临湘市| 宜川县| 家居| 武义县| 和平县| 新河县| 二连浩特市| 黎平县| 客服| 石柱| 沾益县| 万州区| 临武县| 鹤峰县| 鄂托克旗| 抚松县| 二手房| 封开县| 调兵山市| 馆陶县| 珠海市| 乌兰察布市| 镇江市| 天全县| 原平市| 陆河县| 靖远县| 方正县|