It seems like it should be really easy, as on my controller this works:
[Authorize(Roles = "domain\\ad_group")]
public class MyController : Controller
However I would like to specify the "domain\ad_group" from appsettings, rather than hard-coded. I realize the 'proper' solution is to use eg. the EF roles/policies etc, however this is a very tiny application so I'm looking for something a bit more lightweight.
Can I get the AD group from appsettings in a simple way?