Selecting Data from Administration.Account entity

0
I have a page that has a button that calls a microflow. In that Micro I have the Administraion.Account passed as parameter. Also I created an object that points to the same entity I did this to test 2 scenario at once. What my aim is to be able to get the FullName. My problem is that both operations return Null. Below is an image to further explain the problem at hand         The above images show : 1. Screen where the click button is (the button with caption Button). 2. Microflow that is being called by the button. 3. The entity administration.account. 4. The select query of the entity administration.account to show that it has data. 5. Entity Access  
asked
2 answers
0

Martin,

I think you are running into Mendix built in security that is based on User Roles.  In the Project module (the top one in the Modeler), open the Security object.  Click on User Roles tab and open one of your roles (Administrator, for instance).  In the popup window, you'll see which user roles can be managed by the user role you opened.  For instance, Administrator user role is usually set up to manage users with all roles.  If you login with a user role that cannot manage all user roles, there are a number of attributes you won't be able to view for users you can't manage (active, blocked, etc.).  This article gives a bit of information about Project Security:  https://docs.mendix.com/refguide/project-security

Having said all of that, are you able to view FullName if you login with a user that has Administrator user role?  (I am assuming that Administrator is set to manage all users).  If you can view FullName as an Administrator, then the issue you are experiencing is related to Project Security and you'll need to spend some time on your project security structure to accomplish what you want to.

Hope that helps,

Mike

answered
0

Model Share button:

answered