9 references to WindowsBuiltInRole
ComSvcConfig (1)
Tool.cs (1)
641
if (!principal.IsInRole(
WindowsBuiltInRole
.Administrator))
mscorlib (4)
system\security\principal\windowsidentity.cs (1)
450
new int[] { Win32Native.SECURITY_BUILTIN_DOMAIN_RID, (int)
WindowsBuiltInRole
.Guest }));
system\security\principal\windowsprincipal.cs (3)
207
public virtual bool IsInRole (
WindowsBuiltInRole
role) {
208
if (role <
WindowsBuiltInRole
.Administrator || role >
WindowsBuiltInRole
.Replicator)
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)
72
public bool IsUserInRole(string username, System.Security.Principal.
WindowsBuiltInRole
role){
WsatUI (1)
MMCUI\WSATControl.cs (1)
173
return principal.IsInRole(
WindowsBuiltInRole
.Administrator);