19 references to Password
System.DirectoryServices (19)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (2)
423
directoryEntry.Password = context.
Password
;
477
directoryEntry.Password = context.
Password
;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
1314
de.Password = _context.
Password
;
1386
de.Password = _context.
Password
;
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (2)
948
tempEntry = new DirectoryEntry("LDAP://" + context.GetServerName() + "/" + distinguishedName, context.UserName, context.
Password
, authType);
990
tempEntry = new DirectoryEntry("LDAP://" + context.Name + "/" + distinguishedName, context.UserName, context.
Password
, authType);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (3)
362
rootEntry = new DirectoryEntry("GC://" + forestContext.GetServerName(), forestContext.UserName, forestContext.
Password
, authType);
366
rootEntry = new DirectoryEntry("LDAP://" + forestContext.GetServerName(), forestContext.UserName, forestContext.
Password
, authType);
372
rootEntry = new DirectoryEntry("GC://" + forest.Name, forestContext.UserName, forestContext.
Password
, authType);
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (1)
348
DirectoryEntry de = new DirectoryEntry("WinNT://" + tempServerName + ",computer", context.UserName, context.
Password
, Utils.DefaultAuthType);
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (3)
162
return Bind(_bindingPrefix + escapedDN, _context.UserName, _context.
Password
, _context.useServerBind());
247
return Bind(tempBindingPrefix + escapedDN, context.UserName, context.
Password
, context.useServerBind());
252
return Bind(path, context.UserName, context.
Password
, context.useServerBind());
System\DirectoryServices\ActiveDirectory\DomainController.cs (2)
877
de = new DirectoryEntry("LDAP://" + dc.Name + "/RootDSE", context.UserName, context.
Password
, Utils.DefaultAuthType | AuthenticationTypes.ServerBind);
1307
de.Password = context.
Password
;
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
431
de.Password = context.
Password
;
System\DirectoryServices\ActiveDirectory\Utils.cs (3)
648
fixed (char* passwordPtr = context.
Password
)
955
if ((context.UserName == null) && (context.
Password
== null))
963
int result = global::Interop.Advapi32.LogonUser(userName!, domainName, context.
Password
, LOGON32_LOGON_NEW_CREDENTIALS, LOGON32_PROVIDER_WINNT50, ref hToken);