how can you create a profile page for any user role

0
how can we create a proper profile page for any user role suppose a librarian wants to see his own details when he logs in please show this with useful images i am not able to understand as i am a beginner
asked
2 answers
1

Hi Adrija,

 

If you want to show different profile page for different user, then you can define role-based home page in navigation for each user role.

image.png

 

 

And if you want to show data of logged in user then give X path while retrieving as shown is image

image.png

answered
1

You just need to make sure that all users of your system have a user role assigned that has a "Visible for" set on the page.

 

https://docs.mendix.com/refguide/page-properties/#361-visible-for

 

Have a look at the Module Security documentation. It explains in more detail how security works with user roles.

 

https://docs.mendix.com/refguide/module-security/

 

Good luck!

answered