I used below steps to handle visibility to admin button but im not sure how to check for the users button as i have added the same steps to check for users group as well but its only working for only admin or only users .
I need help in order to check Admin and users using filter property formula for the below steps in onstart property.
Security is my sharepoint list where i added items and gave unique permission for my security list items
Please refer the security list items
Admin Item ->Manage access->unique item level permission->Admin sharepoint group
Solved! Go to Solution.
Instead of OnStart properties, I change it to Visible for each button with this function:
LookUp('People and Groups', User().Email = Email, If('User Type' = "Admin", false, true)) - this is for Visible properties of User button
And for Visible properties of Admin button would be:
LookUp('People and Groups', User().Email = Email, If('User Type' = "Admin", true, false))
Note: I change it to LookUp instead of Filter functions
Hope this helps a little.
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |