The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT user_id
into l_user_id
from fnd_user
where user_name = upper(c_user_name);
SELECT 'LDAP'
INTO l_auth_mode
FROM fnd_user
WHERE l_user_id = icx_sec.g_user_id
AND upper(encrypted_user_password)='EXTERNAL';
select ICX_TEXT_S.Nextval into seq from dual;
Procedure UpdatePassword_WF(itemtype in varchar2,
itemkey in varchar2,
actid in number,
funcmode in varchar2,
resultout in out NOCOPY varchar2) is
l_user_name varchar2(360);
FND_USER_PKG.UpdateUser(
x_user_name=> l_user_name,
x_owner=>'CUST',
x_unencrypted_password=>
WF_ENGINE.GetActivityAttrText(itemtype, itemkey, actid,
'X_UNENCRYPTED_PASSWORD',
TRUE),
-- setting password date to null for force passwd change for user
x_password_date=> fnd_user_pkg.null_date,
/*
x_password_date=>
WF_ENGINE.GetActivityAttrDate(itemtype, itemkey, actid,
'X_PASSWORD_DATE', TRUE),
*/
x_password_accesses_left=>
WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
'X_PASSWORD_ACCESSES_LEFT',
TRUE),
x_password_lifespan_accesses=>
WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
'X_PASSWORD_LIFESPAN_ACCESSES',
TRUE),
x_password_lifespan_days=>
WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
'X_PASSWORD_LIFESPAN_DAYS',
TRUE));
update fnd_user set
password_date = null
where user_name = l_user_name;
Wf_Core.Context('FND_WF_STANDARD', 'UpdatePassword', itemtype, itemkey,
actid);
select email_address
from fnd_user
where user_name = l_user_name;
select hzp.email_address
from hz_parties hzp, fnd_user fu
where hzp.party_id = fu.customer_id
and fu.user_name = l_user_name;
select 'X'
from wf_items wfi, wf_item_attribute_values wfa
where wfi.item_type = wfa.item_type
and wfi.item_key = wfa.item_key
and wfi.item_type = 'JTFFPWD'
and wfi.end_date is NULL
and wfa.name = 'X_USER_NAME'
and wfa.text_value = p_name;
select hzp.email_address
from hz_parties hzp, fnd_user fu
where hzp.party_id = fu.customer_id
and fu.user_name = p_name;
SELECT user_id,
decode(upper(encrypted_user_password),'EXTERNAL','EXTERNAL','FND'),
email_address
into l_user_id, l_auth_mode, l_fnd_email_address
from fnd_user
where user_name = p_name
and start_date <= sysdate
and nvl(end_date, sysdate + 1) > sysdate;
select JTF_UM_PSW_WF_S.Nextval into seq from dual;
select 'X'
from wf_items wfi, wf_item_attribute_values wfa
where wfi.item_type = wfa.item_type
and wfi.item_key = wfa.item_key
and wfi.item_type = 'JTFFPWD'
and wfi.end_date is NULL
and wfa.name = 'X_USER_NAME'
and wfa.text_value = p_name;
select hzp.email_address
from hz_parties hzp, fnd_user fu
where hzp.party_id = fu.customer_id
and fu.user_name = p_name;
SELECT user_id,
decode(upper(encrypted_user_password),'EXTERNAL','EXTERNAL','FND'),
email_address
into l_user_id, l_auth_mode, l_fnd_email_address
from fnd_user
where user_name = p_name
and start_date <= sysdate
and nvl(end_date, sysdate + 1) > sysdate;
select JTF_UM_PSW_WF_S.Nextval into seq from dual;