I tried roles and policy based authrization. I need to map my dynamic value like this
[Authorize(Roles=//set dynamically)]
dynamic value from table RS.SupportSertvices
Based on userid i get this role (RS.SupportSertvices) from DB.
May i know how to implement this value [Authorize(Roles=RS.SupportSertvices)]