PLEASE... how do I to create a new user....
Discussion

PLEASE... how do I to create a new user.... 

In a form, the user fill name, username, and password, I trimmed username, password, then encrypt and update.... but that doesn't work....THANKS...

Hi Carrara Admin,

You will need to call the CreateOrUpdateUser action from User Entity inside your UserCreateOrUpdate action in order to do it.

Entity User Actions:

Hope it helps.

Best regards.

Hello... I already had the change (createorupdateuser from users, system) ... but it doesn't works yet.....    8,-(


After EncryptPassword, in SaveDetail action flow, put an Assign widget setting the User Password using the EncryptPassword output:

I have changed your OML file with the example above.

Testclaves.oml

Hi Carrara.

On the userCreateOrUpdate, the password that you must send must be the output from encryptPassword action

Regards

Gonçalo Almeida

 

In my environment  doesn't appear that options....(mmm I beleave that diference of version.... my version is 11.10)

Carrara Admin 

Check the comment in the action to create the user. 

Basically, you need to set the record with the password that came from the encrypted action before save.

Check the oml fixed.

Hope it helps

Regards

Gonçalo Almeida

Testclaves.oml

THANKS.................


If it's fixed please mark this as "Solution" in order to close this thread.

Regards,

Gonçalo Almeida

mvp_badge
MVP

Hi Carrara,

You do not have to write code for creating, changing or deleting users. OutSystems provides an application for that:

 https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/End_User_Management/Add_and_Delete_End_Users

Regards,

Daniel

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