‎2009 Dec 02 1:22 PM
Hi,
I want to unlock a user via the BAPI bapi_user_unlock.
This works fine, the user is unlocked.
My next requirement is that I only want to unlock users which are locked automatically by system because the used 3 times the false password.
Is there any way to unlock a user who was locked by system but if the user has been locked by an admin he shouldn´t be unlocked.
Many thanks,
Christoph
‎2009 Dec 02 1:26 PM
Hello,
In USR02 you have the field UFLAG (User Lock Status). The values for this is:
0 Not Locked
32 Locked Globally By Administrator
64 Locked Locally By Administrator
128 Locked Due To Incorrect Logons (Limited Term)So may be you check of the lock status is '128' & then unlock the user. Simple !
BR,
Suhas
‎2009 Dec 02 1:26 PM
Hello,
In USR02 you have the field UFLAG (User Lock Status). The values for this is:
0 Not Locked
32 Locked Globally By Administrator
64 Locked Locally By Administrator
128 Locked Due To Incorrect Logons (Limited Term)So may be you check of the lock status is '128' & then unlock the user. Simple !
BR,
Suhas
‎2009 Dec 02 1:29 PM