34
Views
5
Comments
Bulk users creations
Application Type
Reactive

Hi Everyone,
Please help me with the below query:

I have uploaded an Excel file containing two user records. The upload process successfully created the users and assigned their roles. However, in the portal, the user status appears as "Pending Registration" instead of "Active."

Is there an alternative approach to automatically set the user status to "Active" without requiring an email registration link to be sent?


The logic below for reference:

Status as pending registration where the users are created with roles:


2021-01-19 14-07-32
Tom Zhao

Hi @Harshitha Sripadha 

As I understand . In the ODC, currently it is not possible to complete user creation on the server side with system action. I don't know why the FinishUserRegistration server action is public, but if you're on the client side, you can use the client action with the same name. You can't use the server action.

Please consider use  the User and Access Management API.

Also, unlike O11, the password is not stored in the user entity, so it will be difficult to set it programmatically. 

Regards

UserImage.jpg
Harshitha Sripadha

Hi,

Is there another approch for importing bulk users with assigning the roles and able to login to the application with the created users in ODC?

2021-01-19 14-07-32
Tom Zhao

Hi @Harshitha Sripadha 

You can try to use User and Access Management API. that I mentioned before.
Although I haven't tried it, I don't think this method can set password and active the user automatically.

What I'm curious about is why it's possible to call FinishUserRegistration  server action.

Please try change the flow to call FinishUserRegistration  client action

Regards,

UserImage.jpg
Harshitha Sripadha

FinishUserRegistration is a client action only but I have called this action in server action.


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