Hello,
I'm using the ADF-Framework with Angular and I'm trying to get the username and password of the current user.
I found out that I can get the name of the user with "localStorage.USER_PROFILE".
Is there another constant where I can get the password of the user? I couldn't find a way to see all the available constant.
Thanks for you help in advance!
Hi,
If you would be able to retrieve a password of a user in any way, it would be considered a security vulnerability. The passwords are one way encrypted and cannot be decrypted.
If the current user wouldn't know it's password there is the possibility to reset the password.
You can get all other available user information of the current user with the getCurrentPerson() method in the People Content service
Best regard,
David.
We do not store the password anywhere. You won't find it in the local storage.
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.