Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

custom password change & profile update functions

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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/Us...

View solution in original post

3 Replies

Avatar

Level 4

Avatar

Level 4

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.

Avatar

Correct answer by
Level 10

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/Us...