Displaying content for user, comparing Variable in Data Master
I am trying to display Admin tools to people who have logged in with an account that has an Admin role.
I have created a Data Master named "Login_Details". This currently holds all the users' Login name, Password and Role.
Role can be either "User" or "Admin".
I track the currently active user with a variable named "Active_User". The users login name gets stored in here if they successfully log in, so that I can easily refer to them throughout the application.
After they sign in, I want to show or hide UI elements depending on this role.
I wanted to use the variable "Active_User" to look at specific columns in a row of my Data Master, see what their role is and use that as a condition to show/hide the UI.
The above post has been a great help establishing some logic, but I am not quite there yet.
Something is missing, but I am fairly new to way JustinMind wants us to build the conditions that I am overlooking something probably very obvious.
The attached file shows my current attempt, plus the reasoning that got me there.
Any advise would be greatly appreciated!