Hi,
I'm testing a SAP RFC program for user maintenance on SAP (i.e. Change Password, Lock/Unlock User).
I know that SAP has a way to distinguish between a user who has been Locked by the Administrator and a User who has locked themself out by entering the wrong password too many times, because the User panel in the SAP GUI displays different reasons for the lockout.
However, in the SAP Identity Management API document, the only commands for User Lock/Unlock that I can see are:
BAPI_USER_LOCK
BAPI_USER_UNLOCK
So, what I'd like to know is how do I unlock a user who was locked because of too many bad passwords, but not when the Admin locked them out? or even, how can I tell which type of lockout was applied to that user?
I'm testing a SAP RFC program for user maintenance on SAP (i.e. Change Password, Lock/Unlock User).
I know that SAP has a way to distinguish between a user who has been Locked by the Administrator and a User who has locked themself out by entering the wrong password too many times, because the User panel in the SAP GUI displays different reasons for the lockout.
However, in the SAP Identity Management API document, the only commands for User Lock/Unlock that I can see are:
BAPI_USER_LOCK
BAPI_USER_UNLOCK
So, what I'd like to know is how do I unlock a user who was locked because of too many bad passwords, but not when the Admin locked them out? or even, how can I tell which type of lockout was applied to that user?