Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: User unlock due to Incorrect attempts

$
0
0

Hi Mohammed,

 

Here is my solution, it works, but you will have to add additional task and script to check the status(as well, it will take longer).

Solution:

In your order task group 8. Set ABAP User password(SAP connectors) add additional task(as first task), that will read from SAP(read the islocked - flag(for user lock) and iswronglogon - flag(for password lock) from SAP) and store the data in some temporary table(sap_locked_temp_table....), as well when you are reading the data from SAP you can add a script to check the result and in case of SAP lock - islocked=L, to skip the next task(skip the password change for this system). Keep in mind that you will have to do this check for each system, so in your temporary table you have to keep not only the userid, but and the system in which the user is locked.

But if you want to unlock the password, without unlocking the user, it's not possible, as the flag iswronglogon doesn't work with ToSAP pass, you can only read it.

My solution works in case you want to unlock the password only if the user is unlocked.

 

BR,

Simona


Viewing all articles
Browse latest Browse all 9091

Trending Articles