22 references to GetUsername
System.Web (22)
DataAccess\ADConnectionHelper.cs (1)
28
directoryInfo.
GetUsername
(),
Security\ADMembershipProvider.cs (21)
931
DirectoryEntry readersEntry = new DirectoryEntry(directoryInfo.GetADsPath("CN=Readers,CN=Roles," + directoryInfo.ADAMPartitionDN), directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
1373
userEntry.Username = directoryInfo.
GetUsername
();
2618
DirectoryEntry rootdse = new DirectoryEntry("LDAP://" + serverName + "/RootDSE", directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3057
DirectoryEntry rootEntry = new DirectoryEntry("GC://" + directoryInfo.ForestName, directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3092
containerEntry = new DirectoryEntry(directoryInfo.GetADsPath(directoryInfo.ContainerDN), directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3204
DirectoryEntry propertyEntry = new DirectoryEntry(directoryInfo.GetADsPath("schema") + "/" + attributeName, directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3268
DirectoryEntry propertyEntry = new DirectoryEntry(directoryInfo.GetADsPath("schema") + "/" + attributeName, directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3289
DirectoryEntry de = new DirectoryEntry(directoryInfo.GetADsPath("schema") + "/user", directoryInfo.
GetUsername
(), directoryInfo.GetPassword(), directoryInfo.AuthenticationTypes);
3568
rootdse = new DirectoryEntry(GetADsPath("rootdse"),
GetUsername
(), GetPassword(), authenticationType);
3611
rootdse = new DirectoryEntry(GetADsPath("rootdse"),
GetUsername
(), GetPassword(), authenticationType);
3642
rootdse = new DirectoryEntry(GetADsPath("rootdse"),
GetUsername
(), GetPassword(), authenticationType);
3670
rootdse = new DirectoryEntry(GetADsPath("rootdse"),
GetUsername
(), GetPassword(), authenticationType);
3679
rootdse = new DirectoryEntry(GetADsPath("RootDSE"),
GetUsername
(), GetPassword(), authenticationType);
3712
DirectoryEntry containerEntry = new DirectoryEntry(wkUsersContainerPath,
GetUsername
(), GetPassword(), authenticationType);
3737
DirectoryEntry containerEntry = new DirectoryEntry(GetADsPath(containerDN),
GetUsername
(), GetPassword(), authenticationType);
3828
DirectoryEntry de = new DirectoryEntry(GetADsPath((string) PropertyManager.GetPropertyValue(rootdse, "defaultNamingContext")),
GetUsername
(), GetPassword(), AuthenticationTypes);
3917
DirectoryContext context = new DirectoryContext(DirectoryContextType.Domain, serverName,
GetUsername
(), GetPassword());
3933
DirectoryContext context = new DirectoryContext(DirectoryContextType.DirectoryServer, serverName,
GetUsername
(), GetPassword());
4202
DirectoryEntry de = new DirectoryEntry(GetADsPath("schema") + "/user",
GetUsername
(), GetPassword(), AuthenticationTypes);
4243
DirectoryEntry schemaNC = new DirectoryEntry(GetADsPath((string) rootdse.Properties["schemaNamingContext"].Value),
GetUsername
(), GetPassword(), AuthenticationTypes);
4366
DirectoryEntry partitionsEntry = new DirectoryEntry(GetADsPath("CN=Partitions," + (string) PropertyManager.GetPropertyValue(rootdse, "configurationNamingContext")),
GetUsername
(), GetPassword());