For those who don't have the desire or time to become experts on Windows security, follow this demonstration of using various .NET classes to test for a user's inclusion in one or more security groups.
Managed C++: Determining User Security Roles
Published 01/24/2005