I have a Windows application where I ideally want to give certain functionality to certain levels of system security. This is already in place for admin vs non admin and this was easy enough, but say I had 3 network groups defined like "Security1", "Security2", "Security3", is there a way that I could tell if the current user running the application is a member of one of these groups?
I have looked around but all I can find is for determining the membership of a well-known group as this group has a well-known SID.
So is there any way to do this for custom groups?
Thanks in advance!