on 10-18-2013 10:25 AM
Hi All,
I am lloading user identities from HCM with position attribute. My client has provided me role and position mapping. Now I have to assign roles dynamically to users based on user's position attribute.
Can I implement this using SAP IDM 7.2 "Context based role assignment" ? Can anyone refer me some usefull technical document on "Context based role assignment"?
Regards,
Dhiman Paul.
Hello Dhiman,
I'd rather suggest dynamic groups for this, because there you specify via a SQL query, what users should be part of the group. The dynamic groups can then be added to business roles, so that those business roles are added to the users found by the query of the dynamic group.
So you could just create a dynamic group for each position, the users would be found via the query and the business role added to them, when the dynamic group is recalculated (the query is triggered).
Please see the IdM help for more information about this. It really sounds more complicated then it is in the end.
Regards,
Steffi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dhiman,
no, you need to create a job with the pass to recalculate the dynamic groups. We have a simple script with uIS_ResolveDynamicGroup(mskey) that is called by that pass and runs at certain times.
I think there is a possibility to have the task run automatically, but that would produce a lot of traffic and if I remember correctly there was a lot more work involved to get that going.
Regards,
Steffi.
Hi Steffi,
It is also an useful link for me too. But I am unable to see the script name in the Global list (right click -> link to global script). I am using IDM 7.2 SP08.
Any thoughts as to where I can get the scripts (uIS_ResolveDynamicGroup).
Regards,
Shanky Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shanky,
that is not the script name but the name of the used function/procedure. You have to create the script yourself and in that script you use uIS_ResolveDynamicGroup.
There should be some documentation around on how to create scripts (well, that is the easiest part ^^) and would the content should look like. This one has just 5 lines (without commentary) in our case. So it isn't that hard.
Regards,
Steffi.
Hi Shanky,
I would suggest you to refer to the Rule Management section of the SAP IDM RDS solution. You will get an idea of how you can use the dynamic groups to meet your requirements.
Its pretty simple. In the RDS solution of IDM, There are predefined tasks for Rule Management. You have to use the following.
1. Create a dynamic group
In this you will create a dynamic group with your rule criteria. Say if the position of an employee is Delivery manager", Assign XYZ role.
In this UI task, you will provide a group name, group description, condition Attribute name & condition.Attribute value
2. ReCalculate Dynamic group members.
In this taks you have to just selct the group for which you want to calculate the group members.
The input will be just the group id from a dropdown in the IDM UI.
When you execute this task, it will call a script sapc_rule_resolveDynamicGroups in which the internal function uIS_ResolveDynamicGroup is called. For more information on the uIS_ResolveDynamicGroup function, please refer the followng screenshot. For your reference, I have attached the script sapc_rule_resolveDynamicGroups.
Hope this is more clear. All the best.
Cheers,
Krishna.
Thanks Steffi.
What type of pass that will be? Just a ToIdentitystore pass?
Thanks,
Dhiman Paul.
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.