custom password change & profile update functions | Community
Skip to main content
Level 4
October 16, 2015
Solved

custom password change & profile update functions

  • October 16, 2015
  • 3 replies
  • 808 views

Hi All,

i want to change a user password logged in to my site. i am not able to find any code snippet for it.

Also i want to update profile of the same user.

both functions are different from eachother.

can u please help me with this?

If possible please provide any code snippet for it.

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

khalidMomin wrote...

yes.

but there is no setProperty method available.

i want to update profile of user. i have used getProperty methods to get user profile data.

 


Get user object and change it using changepassword method.
  http://docs.adobe.com/docs/br/aem/6-0/develop/ref/javadoc/org/apache/jackrabbit/api/security/user/User.html

3 replies

Level 4
October 16, 2015
Level 4
October 16, 2015

yes.

but there is no setProperty method available.

i want to update profile of user. i have used getProperty methods to get user profile data.

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

khalidMomin wrote...

yes.

but there is no setProperty method available.

i want to update profile of user. i have used getProperty methods to get user profile data.

 


Get user object and change it using changepassword method.
  http://docs.adobe.com/docs/br/aem/6-0/develop/ref/javadoc/org/apache/jackrabbit/api/security/user/User.html