我需要一个查询来检查该帐户是否从数据库提供给用户。
有什么线索吗?
Query to get all the enabled/provisioned accounts to specific user:
SELECT OBJ.OBJ_NAME
FROM OBJ,OBI,OIU,OST,USR
WHERE OBJ.OBJ_KEY=OBI.OBJ_KEY
AND OBI.OBI_KEY=OIU.OBI_KEY
AND OIU.USR_KEY=USR.USR_KEY
AND OIU.OST_KEY=OST.OST_KEY
AND OST.OBJ_KEY=OBJ.OBJ_KEY
AND USR.USR_LOGIN='[Insert User Login here]'
AND OST.OST_STATUS IN ('Enabled','Provisioned');
选择 * from OIU where usr_key = ?;
加入 ORC 以查看配置的资源,POL(如果与访问策略相关联),OBI 以查看批准过程。