I'm writing a web application and I'm trying to authenticate admin users. I was hoping to do this by having a local group on the server that I add domain users into. I have a group called ProductionManagers
which I add people with admin rights into. Other users have a view-only access.
What I want to do is to search query the AD (right?) on the server and find out if the currently logged in user is member of the ProductionManagers
group (which is a group on the server, not a domain group).
What's the best way of doing this? Or maybe you have a suggestion on a better mechanic than having a local group where I add admins?