12 references to GetUsername
System.DirectoryServices (12)
System\DirectoryServices\DirectoryEntries.cs (3)
48
DirectoryEntry entry = new DirectoryEntry(newChild, _container.UsePropertyCache, _container.
GetUsername
(), _container.GetPassword(), _container.AuthenticationType);
78
return new DirectoryEntry(o, _container.UsePropertyCache, _container.
GetUsername
(), _container.GetPassword(), _container.AuthenticationType);
128
return _currentEntry ??= new DirectoryEntry(_enumVariant.GetValue(), _container.UsePropertyCache, _container.
GetUsername
(), _container.GetPassword(), _container.AuthenticationType);
System\DirectoryServices\DirectoryEntry.cs (7)
297
return new DirectoryEntry(_adsObject.Parent, UsePropertyCache,
GetUsername
(), GetPassword(), AuthenticationType);
380
return new DirectoryEntry(_adsObject.Schema, UsePropertyCache,
GetUsername
(), GetPassword(), AuthenticationType);
426
if (value ==
GetUsername
())
528
int hr = UnsafeNativeMethods.ADsOpenObject(pathToUse,
GetUsername
(), GetPassword(), (int)_authenticationType, ref g, out value);
547
DirectoryEntry newEntry = new DirectoryEntry(this.Path, this.UsePropertyCache, this.
GetUsername
(), this.GetPassword(), this.AuthenticationType);
673
return new DirectoryEntry(copy, newParent.UsePropertyCache,
GetUsername
(), GetPassword(), AuthenticationType);
799
return new DirectoryEntry(result, UsePropertyCache,
GetUsername
(), GetPassword(), AuthenticationType);
System\DirectoryServices\SearchResultCollection.cs (2)
53
_rootEntry.
GetUsername
(),
196
return new ResultsEnumerator(this, _rootEntry.
GetUsername
(), _rootEntry.GetPassword(), _rootEntry.AuthenticationType);