Windows Principal « Windows « C# / C Sharp






1.Use Properties of WindowsPrincipal
2.WindowsPrincipal.IsInRole
3.WindowsImpersonationContext
4.Get Current Windows Identity
5.WindowsBuiltInRole.Administrator
6.WindowsPrincipal Enables You to Check for Role MembershipWindowsPrincipal Enables You to Check for Role Membership