Skip to main content
Level 4
Oct 16, 2015 2:26 AM UTC
Solved

custom password change & profile update functions

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.
Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

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

Sham_HC
Sham_HCAccepted solution
Level 10
Oct 16, 2015 2:26 AM UTC

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

Translate
Level 4
Oct 16, 2015 2:26 AM UTC

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.

Translate
Level 4
Oct 16, 2015 2:26 AM UTC