Skip to Content
0
May 27, 2007 at 08:00 AM

getLockReason() in NW2004s

10 Views

Hi all,

I need to migrate code from EP6 SP2 to EP7 SP11.

One of the methods in the old code is getLockReason().

The method is deprecated in EP7 and in the javadoc it says:

<i>use isPasswordLocked() and isUserAccountLocked()() instead</i>

I'm a bit confused because the new methods will not tell me the lock reason, it will just tell me if the user/password is locked <b>without</b> the lock reason.

Am I missing something?

javadoc:

http://help.sap.com/javadocs/NW04S/current/se/com/sap/security/api/IUserAccount.html#getLockReason()

Omri