5 references to IsInRole
ComSvcConfig (1)
Tool.cs (1)
641
if (!principal.
IsInRole
(WindowsBuiltInRole.Administrator))
System (1)
compmod\system\codedom\compiler\TempFiles.cs (1)
326
new WindowsPrincipal(currentIdentity).
IsInRole
(WindowsBuiltInRole.Administrator))
System.Management (1)
Instrumentation\WMICapabilities.cs (1)
144
return (principal.Identity.IsAuthenticated && principal.
IsInRole
(WindowsBuiltInRole.Administrator));
System.Web (1)
Security\WindowsTokenRoleProvider.cs (1)
81
return wp.
IsInRole
(role);
WsatUI (1)
MMCUI\WSATControl.cs (1)
173
return principal.
IsInRole
(WindowsBuiltInRole.Administrator);