See Also: WindowsPrincipal Members
The System.Security.Principal.WindowsPrincipal class is primarily used to check the role of a Windows user. The erload:System.Security.Principal.WindowsPrincipal.IsInRole method overloads let you check the user role by using different role contexts.