Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Java API to create a password for a user

Avatar

Level 3

I have used the Java API to create a user in Livecycle, but I cannot seem to find a way to give this user a password.

Here is the code I'm using to add the user.

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000004.html

After the user is set in LiveCycle I want the user to set the password at a webpage. How do I make this happen?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 4
4 Replies

Avatar

Correct answer by
Level 4

Avatar

Level 3

Thanks for the link. How would I also enable the user at this point.

I'm assuming I would call u.setStatus() - What would the parameters be.

Avatar

Level 4

You can uee the constant Principal.STATUS_CURRENT. if you use UMBaseLibrary methods to construct user objects then you need not set it explicitly