method here { WindowsIdentity identity = WindowsIdentity.GetCurrent(); WindowsPrincipal user = new WindowsPrincipal(identity); string role = "BUILTIN\\Administrators"; bool IsAdmin = user.IsInRole(role)); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)