Query to Find Target System User ID from OIM Database table
Hi,
SELECT distinct UD_LAP_USERID FROM UD_LAP4,ost,oiu,obj,usr, obi WHERE oiu.ost_key = ost.ost_key AND obj.obj_key = obi.obj_key AND oiu.usr_key = usr.usr_key and ost_status in ('Provisioned', 'Enabled') and oiu.obi_key=obi.obi_key and obj.obj_name='ROName'
Here UD_LAP4 is the Table associated with Process form.
UD_LAP_USERID this Target System User ID Field.
I need this query to return only those UD_LAP_USERID with given resource status in Provisioned and Enabled. But my query is returning all UD_LAP_USERID even if the specified Resource is Revoked.
Thanks