1 write to currentIdentity
System (1)
compmod\system\codedom\compiler\TempFiles.cs (1)
74
currentIdentity
= WindowsIdentity.GetCurrent();
5 references to currentIdentity
System (5)
compmod\system\codedom\compiler\TempFiles.cs (5)
274
if (
currentIdentity
!= null && Directory.Exists(highIntegrityDirectory))
277
RemoveAceOnTempDirectory(highIntegrityDirectory,
currentIdentity
.User.ToString());
325
if (!LocalAppContextSwitches.DisableTempFileCollectionDirectoryFeature &&
currentIdentity
!= null &&
326
new WindowsPrincipal(
currentIdentity
).IsInRole(WindowsBuiltInRole.Administrator))
332
CreateTempDirectoryWithAce(tempDir,
currentIdentity
.User.ToString());