cancel
Showing results for 
Search instead for 
Did you mean: 

Need Information to un lock a user using UME API in WDJ

susmita_panigrahi
Active Participant
0 Kudos

Hi All,

How we will do in the coding in web dynpro java using UME API to achieve the below requirement:

1. If the user is not logged on to portal for 180 days then the user account will be locked.

2. After 180 days if that locked user is trying to log on to portal then his account will be un locked and user can able to logon to portal successfully.

Can you please provide any information how will do using UME API in Web Dynpro Java?

Thanks & Regards,

Susmita

Accepted Solutions (0)

Answers (2)

Answers (2)

susmita_panigrahi
Active Participant
0 Kudos

Closing this thread.

junwu
Active Contributor
0 Kudos

what?

then you lock what?

whenever user try to logon, the account is unlocked,.......why you bother to lock it.....

susmita_panigrahi
Active Participant
0 Kudos

Hi

If user  is on vacation for long time .After vacation when he come back when he logon to portal account need to be unlocked.

If basis team will add a custom parameter in UME , how we will read that custom parameter in WDJ

Thanks,

Susmita

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Susmita,

I agree with Jun that so far I don't see the logic behind this approach.

Still I have just found this for the locking part of your question which you might find useful:

http://wiki.scn.sap.com/wiki/display/EP/Locking+UME+User's+after+certain+time+stamp

Afaik there is no functionality that would automatically unlock the user if he or she logs in (not to mention again the question what has been also raised by Jun: "why bother then locking the user?")

What the end user can do is to enable self management and then reset the password in case its password is invalid or forgotten, but an end user cannot unlock the user for himself (only admin).

http://help.sap.com/saphelp_nw73/helpdata/en/43/fc3ae22adb025fe10000000a1553f7/content.htm

Perhaps if you implement your custom login module, but I don't know how that works, and maybe it is even off topic for this forum.

Here you find an example how to use the UME api:

http://help.sap.com/saphelp_nw73/helpdata/EN/f5/4dd9d47a200d46bd1c56062f49e10b/content.htm

(if you search on google for say https://www.google.hu/#q=WDClientUser+scn then you find many other useful info).

I hope this helps.

Regards,

Ervin