How to create an IFS user from command line APIs. We need to create users using the APIs in Oracle. Does anyone know what APIs we need to access?
Thank you,
How to create an IFS user from command line APIs. We need to create users using the APIs in Oracle. Does anyone know what APIs we need to access?
Thank you,
Example:
for i in c_users_ loop
begin
fnd_user_ := UPPER(Convert_(substr(i.first_name, 1,2))||Convert_(i.last_name));
Client_SYS.Clear_Attr(attr_);
Client_SYS.Add_To_Attr('IDENTITY', fnd_user_, attr_);
Client_SYS.Add_To_Attr('DESCRIPTION', i.name, attr_);
Client_SYS.Add_To_Attr('ORACLE_USER', fnd_user_, attr_);
Client_SYS.Add_To_Attr('WEB_USER', fnd_user_, attr_);
Client_SYS.Add_To_Attr('ACTIVE', 'TRUE', attr_);
Client_SYS.Add_To_Attr('ORACLE_PASSWORD', i.pass, attr_);
Client_SYS.Add_To_Attr('EXPIRE_PASSWORD', 'FALSE', attr_);
fnd_user_api.New__(info_, objid_, objversion_, attr_, 'DO');
fnd_user_api.Set_Property(fnd_user_, 'PREFERRED_LANGUAGE','pl');
fnd_user_api.Set_Property(fnd_user_, 'ALLOW_DB_AUTHENTICATION','TRUE');
end loop;
Please let me know
Thank you,
Hi
You need to grant role using this:
Security_sys.Grant_Role(role_, fnd_user_); → fnd_user_ =>’FND_ENDUSER’
After finishing process refresh security cache. Table FND_USER_ROLE_RUNTIME_TAB is populated during logon time as a summary of all permissions granted to enduser.
Here is a sample script that I used to setup a basic users. Let me know if it is helpful?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.