How to implement dynamic roles authorization in web api RRS feed

  • Question

  • User-141616043 posted

    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)]

    Thursday, February 27, 2020 12:38 PM

All replies