2266
Views
14
Comments
Solved
How to update user password
Discussion

Hello Mates,

I have created User Management Module but  I am unable to add a password field while adding or editing users.

Thanks in advance,

Afaque Shaikh



2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Solution

Hi Afaque,

Unfortunately (probably by design, but it is rather annoying), if you drag/drop an Entity on a Web Screen, all Attributes are converted into editable fields in a Form Widget, except for passwords. However, you can just manually add another Input to the Form (use the Password Widget), and set that to the password field of your user Structure/Entity.

UserImage.jpg
Afaque Shaikh

Kilian Hekhuis wrote:

Hi Afaque,

Unfortunately (probably by design, but it is rather annoying), if you drag/drop an Entity on a Web Screen, all Attributes are converted into editable fields in a Form Widget, except for passwords. However, you can just manually add another Input to the Form (use the Password Widget), and set that to the password field of your user Structure/Entity.

Thanks Kilian, 

can you please tell me which encryption method outsystem use , as I want to store password in DB.


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Afaque,

You should use the EncryptPassword Action from the Users eSpace.

UserImage.jpg
Afaque Shaikh

Kilian Hekhuis wrote:

Hi Afaque,

You should use the EncryptPassword Action from the Users eSpace.


I am unable to find EncryptPassword Action in Service Studio :(

2024-02-16 07-43-18
Amit Verma

Afaque Shaikh wrote:

Kilian Hekhuis wrote:

Hi Afaque,

You should use the EncryptPassword Action from the Users eSpace.


I am unable to find EncryptPassword Action in Service Studio :(


UserImage.jpg
Afaque Shaikh

Amit Verma wrote:

Afaque Shaikh wrote:

Kilian Hekhuis wrote:

Hi Afaque,

You should use the EncryptPassword Action from the Users eSpace.


I am unable to find EncryptPassword Action in Service Studio :(



Thanks Amit :)

2024-02-16 07-43-18
Amit Verma

Afaque Shaikh wrote:

Hello Mates,

I have created User Management Module but  I am unable to add a password field while adding or editing users.

Thanks in advance,

Afaque Shaikh




Hi Afaque,

You can add another Input to the Form (use the Password Widget) and bind with variable or user Structure/Entity.

Please find the attached "UserManagement.oml" file for your reference. Please go through 

UserManagement --> ChangePassword (webblock), i think this will help you.



UserManagement.oml
2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Afaque,

Like I said, it's in the Users eSpace. You need to reference it via the Manage Dependencies pop-up:

UserImage.jpg
Afaque Shaikh

Kilian Hekhuis wrote:

Hi Afaque,

Like I said, it's in the Users eSpace. You need to reference it via the Manage Dependencies pop-up:


Thanks Kilian it worked, 

I really appreciate your help :)

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

You're welcome :).

2024-02-16 07-43-18
Amit Verma

Welcome :)

2020-07-02 13-32-59
Max de Groot

Hi!

I know this is a bit of an older thread but I have a question regarding updating the user and (not) the password.

I am using a form to create or update users including passwords (which are being encrypted and stored in database). If I update a user without entering the password again or changing it, it seems that the encrypted value is stored or something. The old password does not work anymore for the account. 


Anyone know a solution for this? 


Max

2021-02-25 10-16-25
Wouter Verbeeck

Hi Max,


Is this still valid? 

When you update the record with en ampty password, this would be treated as your new password.

I would make a back-end check: if the password is left empty for the update, get the original record of this user and take the password from there (with some additional checks on who can perfrom this for this user).


Let me know if this helps.


Kind regards and best of luck!

2020-07-02 13-32-59
Max de Groot

Hi Wouter, 

I already resolved it! It had something to do with the password being empty indeed. 

Max

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.