on 08-29-2019 2:55 PM
Hi All,
Actually I am working on a password reset form (not self service).
So i have created a multi select attribute which would show the repositories where an user is active and has access.
Can anyone help with the query ?
As a start - I have tried "select Repository as rep_id, VarValue as displayName from mc_repository_vars" this gives me all the Priv:<repo>::Only privileges in IDM.
Hello Ani,
we use the "ACCOUNT<repname>" attributes for this, because if a user has an account in that repository, this attribute is filled with the username.
And then it's just using some SQL magic (substring) to get the repname part and use this in the dropdown list.
.
Regards,
Steffi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try this:
select replace(mcothermskeyvalue, 'PRIV:SYSTEM:', '') rep from idmv_link_ext with (nolock) where mcthismskey = %usermskey% and mcothermskeyvalue like 'PRIV:SYSTEM:%' order by rep
If your repository description is meaningful you also could use:
select r.rep_Description from idmv_link_ext with (nolock) join MC_REPOSITORY r with (nolock) on r.rep_name = replace(mcothermskeyvalue, 'PRIV:SYSTEM:', '') where mcthismskey = %usermskey% and mcothermskeyvalue like 'PRIV:SYSTEM:%' order by rep_description
For Oracle, remove the with (nolock). Replacing could be different also, don't remember it anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Lucky me then. 🙂
My idmv_value_ext(9.6 million) is five times the size of the idmv_link_ext (1.8 million). SAP roles are done using an unconnected GRC and our AD group handling isn't that worse either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks everyone. Wonderful world !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.