For example, if you have a peripheral support system, you need to click a link after logging on to the peripheral system to log on to the Oracle ERP system, then we need to first create the users of the peripheral system in Oracle ERP and assign them their responsibilities.
DECLARE
A BOOLEAN;
BEGIN
-------------------------------------------------------------
-- Change password
-------------------------------------------------------------
-------------------------------------------------------------
-- Create User
-------------------------------------------------------------
Fnd_user_pkg.CreateUser ('simon ',
'Seed ',
'PW $234567'
);
-------------------------------------------------------------
-- Add Resp
-- Select * from fnd_responsibility fr where fr. responsibility_id =
-- Select * from fnd_responsibility_tl frt where upper (frt. responsibility_name) like '%'
-- Select * from fnd_application fa where fa. application_id =
-- Select * from fnd_security_groups fs
-------------------------------------------------------------
Fnd_user_pkg.AddResp ('simon ',
'Sysadmin ',
'System _ ADMINISTRATOR ',
'Standard ',
'Test API ',
Sysdate,
Null
);
Commit;
End;
-- Use the following code to log on to the Oracle ERP system directly in Link:
<Html>
<Head>
<Title> iSupport Login </title>
</Head>
<Body onLoad = "document. Login. submit ()">
<Form action = "http: // host: port/OA_HTML/jtfavald. jsp" method = "post" name = "Login" id = "Login">
<Input type = "hidden" name = "username" value = "$ UserName $">
<Input type = "hidden" name = "password" value = "$ Password $">
</Form>
</Body>
</Html>