13 references to Password
System.DirectoryServices.AccountManagement (13)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (2)
267using (DirectoryEntry deRoot = new DirectoryEntry("LDAP://" + userSuppliedServerName + "/rootDSE", credentials?.UserName, credentials?.Password, authTypes)) 278using (DirectoryEntry deSCN = new DirectoryEntry("LDAP://" + userSuppliedServerName + "/" + SchemaNamingContext, credentials?.UserName, credentials?.Password, authTypes))
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (6)
1192Forest forest = Forest.GetForest(new DirectoryContext(DirectoryContextType.Forest, this.DnsForestName, this.credentials?.UserName, this.credentials?.Password)); 1194DirectoryContext dc = new DirectoryContext(DirectoryContextType.Domain, this.DnsDomainName, this.credentials?.UserName, this.credentials?.Password); 1213roots.Add(new DirectoryEntry("GC://" + gc.Name + "/" + p.DistinguishedName, this.credentials?.UserName, this.credentials?.Password, this.AuthTypes)); 1419dncContainer = new DirectoryEntry(@"LDAP://" + this.UserSuppliedServerName + @"/" + this.DefaultNamingContext, Credentials != null ? this.Credentials.UserName : null, Credentials != null ? this.Credentials.Password : null, this.AuthTypes); 1428fspContainer = new DirectoryEntry(fspWkDn, Credentials != null ? this.credentials.UserName : null, Credentials != null ? this.credentials.Password : null, this.authTypes); 1603if (ADUtils.VerifyOutboundTrust(this.DnsDomainName, this.credentials?.UserName, this.credentials?.Password))
System\DirectoryServices\AccountManagement\AD\SDSCache.cs (1)
175credentials?.Password
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (2)
377credentials?.Password, 390de.Password = credentials?.Password;
System\DirectoryServices\AccountManagement\Utils.cs (2)
605(credentials == null || (credentials.UserName == null && credentials.Password == null))); 736string password = credential.Password;