How to hide some entries in drop down list based on user role?
Application Type
Traditional Web
Hi. 
I have 2 entities: "Requests" and "Payout Type". The "Payout Type" entity is static, linked via ID to the "payoutType" attribute of the "Requests" entity. The "paytType" attribute is placed in the drop-down list widget that is in the form. 
How to hide some entries in drop down list based on user role?
For example, for a registered user to see only 3 values out of 10 in the drop-down list. And the user with the Manager role saw all 10 values.
I work with a traditional web application. Thanks

Hey,
There are 2 possibilities

1.when fetching data from aggregate add filter of user role so it will fetch data based on role

2.create custom list and use foreach loop to append data into list based on user roles.Bind that appended list to dropdown.

Hope you will understand!

Thanks

Yogesh

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.