cancel
Showing results for 
Search instead for 
Did you mean: 

BYPASS_MEMBER_TASK not working for Attribute MXMEMBER_MX_PERSON while it is working for MXREF_MX_PRIVILEGE

Former Member
0 Kudos


Hi,

We are trying to delete privileges from user using the following code in the script using BYPASS_MEMBER_TASK

task_property="{D}{BYPASS_MEMBER_TASK=1}";

var tempvalue=task_property+PrivMskey;

var SetPrivToUser2 = uIS_SetValue(tempvalue,IDStore,"MXMEMBER_MX_PERSON",mskey2,"",2);

but this not working ,we are getting an error Entry doesnot exist attribute:MXMEMBER_MX_PERSON.

If we are trying to delete the privilege from ToIdentity store pass with the same concept of {D}{BYPASS_MEMBER_TASK=1} PrivMskey it's working fine.

We had raised a same thread fro Add privilege and it worked with {BYPASS_MEMBER_TASK=1} in the script and {A}{BYPASS_MEMBER_TASK=1} in the To IdentityStore pass.

Please find the screenshot of ToIdenity store pass and the error screenshot which we are recieving when we run the script containing

{D}{BYPASS_MEMBER_TASK=1}PrivMSKey

Thanks,

Dhiman

Accepted Solutions (1)

Accepted Solutions (1)

jaisuryan
Active Contributor
0 Kudos

Hi Dhiman,

Did you read the application help for the function uIS_setValue? The usage, syntax, example are very well explained in the Application help and IDM related documents. Below is advise to new SAP IDM consultants.


I'd also add that attending Training is pretty important as well.

IDM is not like other modules in it's architecture, implementation or design.  Attending formal training is a HUGE benefit.

While using uIS_SetValue, you need not mention {D} operator. The operation is controlled by AttrOperation parameter.

So your script should have,

uIS_SetValue(mskey, IDStore,MXREF_MX_PRIVILEGE,tempvalue,2);


where,

mskey = user mskey

tempvalue = {BYPASS_MEMBER_TASK=1}PrivMskey

Kind regards,

Jaisuryan


Answers (0)