30 references to User
mscorlib (3)
system\security\principal\windowsidentity.cs (3)
467
return (this.
User
== sid);
479
return (this.
User
== sid);
509
NTAccount ntAccount = this.
User
.Translate(typeof(NTAccount)) as NTAccount;
System (2)
compmod\system\codedom\compiler\TempFiles.cs (2)
277
RemoveAceOnTempDirectory(highIntegrityDirectory, currentIdentity.
User
.ToString());
332
CreateTempDirectoryWithAce(tempDir, currentIdentity.
User
.ToString());
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
1530
if (_impersonateIdentity.
User
== identity.
User
) {
System.IdentityModel (2)
System\IdentityModel\Claims\WindowsClaimSet.cs (2)
155
claims.Add(new Claim(ClaimTypes.Sid, this.windowsIdentity.
User
, Rights.Identity));
207
yield return new Claim(ClaimTypes.Sid, this.windowsIdentity.
User
, Rights.Identity);
System.IdentityModel.Selectors (1)
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (1)
513
SecurityIdentifier sid = WindowsIdentity.GetCurrent().
User
;
System.Runtime.Remoting (2)
channels\core\corechannel.cs (1)
914
return WindowsIdentity.GetCurrent().
User
.ToString();
channels\ipc\ipcport.cs (1)
60
dacl.AddAccess(AccessControlType.Allow, WindowsIdentity.GetCurrent().
User
, -1, InheritanceFlags.None, PropagationFlags.None);
System.ServiceModel (11)
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
225
if (impersonationToken.
User
!= null)
System\ServiceModel\Security\IdentityVerifier.cs (1)
231
return ((WindowsIdentity)claim.Resource).
User
;
System\ServiceModel\Security\SctClaimSerializer.cs (2)
429
WriteSidAttribute(wid.
User
, dictionary, writer);
436
if ((self.
User
== wid.Owner) ||
System\ServiceModel\Security\SecurityUtils.cs (6)
425
SecurityIdentifier sid = self.
User
;
434
|| self.
User
.Value.StartsWith("S-1-5-82", StringComparison.OrdinalIgnoreCase));
496
return self.
User
.Value;
1102
if (windows.
User
!= null)
1105
str.Append(windows.
User
.ToString());
2297
if (!allowUnauthenticatedCallers && identity.
User
.IsWellKnown(WellKnownSidType.AnonymousSid))
System\ServiceModel\UpnEndpointIdentity.cs (1)
55
this.upnSid = windowsIdentity.
User
;
System.ServiceModel.Internals (1)
System\Runtime\Diagnostics\EventLogger.cs (1)
134
SecurityIdentifier sid = WindowsIdentity.GetCurrent().
User
;
System.Workflow.Activities (4)
Executors\WorkflowWebService.cs (2)
184
if (windowsIdentity != null && windowsIdentity.
User
!= null)
185
securityIdentifier = windowsIdentity.
User
.Translate(typeof(NTAccount)).ToString();
LocalService\WorkflowMessageEventHandler.cs (2)
122
if (windowsIdentity != null && windowsIdentity.
User
!= null)
123
securityIdentifier = windowsIdentity.
User
.Translate(typeof(NTAccount)).ToString();
System.WorkflowServices (1)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (1)
48
Claim claim = Claim.CreateWindowsSidClaim(identity.
User
);
WindowsBase (1)
Shared\MS\Internal\IO\Packaging\PackagingUtilities.cs (1)
564
string userSid = System.Security.Principal.WindowsIdentity.GetCurrent().
User
.Value;