271
Views
6
Comments
Solved
CRUD Operations in ODC to user Table
Question

Hello, i need to create a user BackOffice in ODC App
The problem is that i don't have access to the Crud operations as i used to in OutSystems 11.
Is it even possible, to create / edit , the user Programmatically ?

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
Solution

Hi,

No, there are no CRUD actions available on the User entity. The user entity in OutSystems is more like a cache than a meta data table. It is only filled with details of a logged in user.

User management is currently limited to the ODC portal:
https://success.outsystems.com/documentation/outsystems_developer_cloud/user_management/

OutSystems is working on a public user management API, but no date is given when it will be released.

The following system client/server actions currently exists for user management:

  • GetUserProfile
  • UpdateUserProfile
  • FinishUserRegistration
  • StartUserRegistration
  • IsExternalUser
  • ChangePassword
  • StartResetPassword
  • GetPasswordComplexityPolicy
  • ValidatePasswordComplexcity

Regards,

Daniel

UserImage.jpg
Telmo Gonçalves

Thank you Daniel, i'm trying to create a user using StartUserRegistration, if sucessfull, i send a email with the verification code, the problem here is. As i've studied before, the validation code expires always in 15 minutes, how do i get over that? Lets imagine, i create a user in a app page, and i send the verification code to the email that i registered, unfortunately the user took more than 15 minutes to login, how do i resend another verification code?


I really appreciate your help!

2021-08-12 11-00-27
Nordin Ahdi
 
MVP

Hi Telmo,

Have you tried using the StartResetPassword action? That should send a new verification code to the user according to the documentation. Although, I haven't tested it myself yet.

More info on the available User system actions can be found here:

Regards,
Nordin

2024-11-05 11-28-22
Sunil Rajput
2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

We're in the document link you shared does it mention how to resent a new activation code after the first expired?

UserImage.jpg
Telmo Gonçalves

I'm not sure but i think we can just do another StartRegistration with same details and it will give us a new verification code.

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