Default User role

0
Hi, I have created a few users roles in my app.How to give a default role when users are signing up in applications?
asked
3 answers
1

Hi, to my understanding this depends on the way you let users register/sign on to your app.

If you create their account (from Administration module) using a microflow, you can set the userrole (from System Module) immediately upon creation of the account object. 

For example, you could retrieve the needed userrole(s) through an xpath constraint using the names you gave the userroles and then couple those to your created account object as member System.Userroles --> set 

answered
1

As Desiree says, you need to build some process for that.

For getting the UserRoles you should do a retrieve like this

//System.UserRole
[id='[%UserRole_User%]']

 

answered
0

Hi,

I am using forgot password module to sign up

answered