2 writes to UserName
System (2)
net\System\Net\NetworkCredential.cs (2)
69
UserName
= userName;
82
UserName
= userName;
19 references to UserName
System (5)
net\System\Net\CredentialCache.cs (4)
80
GlobalLog.Print("CredentialCache::Add() Adding key:[" + key.ToString() + "], cred:[" + cred.Domain + "],[" + cred.
UserName
+ "]");
123
GlobalLog.Print("CredentialCache::Add() Adding key:[" + key.ToString() + "], cred:[" + credential.Domain + "],[" + credential.
UserName
+ "]");
231
GlobalLog.Print("CredentialCache::GetCredential returning " + ((mostSpecificMatch==null)?"null":"(" + mostSpecificMatch.
UserName
+ ":" + mostSpecificMatch.Domain + ")"));
276
GlobalLog.Print("CredentialCache::GetCredential returning " + ((match==null)?"null":"(" + match.
UserName
+ ":" + match.Domain + ")"));
net\System\Net\mail\SmtpLoginAuthenticationModule.cs (1)
50
string userName = credential.
UserName
;
System.IdentityModel (2)
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
57
if (string.IsNullOrEmpty(networkCredential.
UserName
))
141
AuthIdentityEx authIdentity = new AuthIdentityEx(networkCredential.
UserName
, networkCredential.Password, networkCredential.Domain);
System.ServiceModel (4)
System\ServiceModel\Security\SecurityUtils.cs (4)
409
upn = serverCredential.
UserName
+ "@" + serverCredential.Domain;
413
upn = serverCredential.
UserName
;
1982
return credential.
UserName
;
2031
AuthIdentityEx authIdentity = new AuthIdentityEx(credential.
UserName
, credential.Password, credential.Domain);
System.Web (8)
Security\ADMembershipProvider.cs (8)
4051
if (credentials.
UserName
== null)
4054
if (credentials.
UserName
.Length == 0 && (credentials.Password == null || credentials.Password.Length == 0))
4057
return this.credentials.
UserName
;
4070
if (credentials.Password.Length == 0 && (credentials.
UserName
== null || credentials.
UserName
.Length == 0))
4090
if ((credentials.
UserName
== null || credentials.
UserName
.Length == 0) && (credentials.Password == null || credentials.Password.Length == 0))
4106
string tempUsername = credentials.
UserName
;