cancel
Showing results for 
Search instead for 
Did you mean: 

Gererating Password with the UME-API

Former Member
0 Kudos

Hello @all,

I`m creating users and accounts over the UME-Portal-API in my Web Dynpro project. After that i have to set an initial password to each of this user. As an portal admin, I have the chanche to use "Automatic Password Generation" which gererate me a passwort that belongs to my password rules, setted in the portal.

For this, I`m searching in the UME-API after this functionality-method. Does anyone know this mehtod?

best regards

Mathias

Message was edited by:

Mathias Hünnerkopf

Accepted Solutions (1)

Accepted Solutions (1)

lajitha_menon
Contributor
0 Kudos

Hi Mathias,

Try the following,

Use the method UMFactory.getSecurityPolicy().generatePassword() to get the password generated automatically.

Use the method setPassword() in IUserAccount to set the user password to the new one.

Hope this helps,

Regards,

LM

Answers (0)