4 writes to Path
System.DirectoryServices (1)
System\DirectoryServices\DirectoryEntry.cs (1)
61Path = path;
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (2)
168de.Path = adsPath.ToString(); 175de.Path = nativeMember.ADsPath;
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
569de.Path = adsPath;
90 references to Path
System.DirectoryServices (20)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (1)
333return DirectoryEntryManager.GetDirectoryEntryInternal(_context, _cachedEntry.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (1)
433return DirectoryEntryManager.GetDirectoryEntryInternal(_context, _classEntry.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (1)
470return DirectoryEntryManager.GetDirectoryEntryInternal(_context, _propertyEntry.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (1)
1083return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (1)
642return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (1)
298return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry!.Path);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (1)
351return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path);
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (1)
904return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedDirectoryEntry.Path);
System\DirectoryServices\Design\DirectoryEntryConverter.cs (2)
56return ((DirectoryEntry)value).Path; 76if (existingComponent.Path == path)
System\DirectoryServices\DirectoryEntries.cs (1)
38throw new InvalidOperationException(SR.Format(SR.DSNotAContainer, _container.Path));
System\DirectoryServices\DirectoryEntry.cs (6)
508string pathToUse = Path; 547DirectoryEntry newEntry = new DirectoryEntry(this.Path, this.UsePropertyCache, this.GetUsername(), this.GetPassword(), this.AuthenticationType); 662throw new InvalidOperationException(SR.Format(SR.DSNotAContainer, newParent.Path)); 667copy = newParent.ContainerObject.CopyHere(Path, newName); 873throw new InvalidOperationException(SR.Format(SR.DSNotAContainer, newParent.Path)); 901newEntry = newParent.ContainerObject.MoveHere(Path, newName);
System\DirectoryServices\DirectorySearcher.cs (2)
229/// Gets the set of properties retrieved during the search. By default, the <see cref='System.DirectoryServices.DirectoryEntry.Path'/> 615throw new NotSupportedException(SR.Format(SR.DSSearchUnsupported, SearchRoot.Path));
System\DirectoryServices\PropertyValueCollection.cs (1)
35string tempPath = entry.Path;
System.DirectoryServices.AccountManagement (70)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (1)
133pathName.Set(this.ctxBase.Path, 1 /* ADS_SETTYPE_FULL */);
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (6)
50(primaryGroupMembersSearcher != null ? primaryGroupMembersSearcher.SearchRoot.Path : "NULL")); 95(membersSearcher != null ? membersSearcher[0].SearchRoot.Path : "NULL"), 97(primaryGroupMembersSearcher != null ? primaryGroupMembersSearcher.SearchRoot.Path : "NULL")); 221GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADDNLinkedAttrSet", "MoveNextMemberSearcher: returning primary group {0}", ((DirectoryEntry)this.current).Path); 822Debug.Assert(((DirectoryEntry)foreignGroup.UnderlyingObject).Path.StartsWith("LDAP:", StringComparison.Ordinal)); 852Debug.Assert(((DirectoryEntry)foreignGroup.UnderlyingObject).Path.StartsWith("LDAP:", StringComparison.Ordinal));
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (9)
282GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "Constructing ADStoreCtx for {0}", ctxBase.Path); 307GlobalDebug.WriteLineIf(GlobalDebug.Warn, "ADStoreCtx", "IsContainer: not a container ({0})", schemaDE.Path); 348return this.ctxBase.Path; 979SDSUtils.WriteAttribute(de.Path, attribute, value, this.credentials, this.authTypes); 988SDSUtils.WriteAttribute<T>(de.Path, attribute, value, this.credentials, this.authTypes); 1758GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "IsMemberOfInStore: real principal, DN={0}", principalDE.Path); 2189GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "LoadDirectoryEntryAttributes, path={0}", de.Path); 2425if (Uri.TryCreate(ctxBase.Path, UriKind.Absolute, out Uri ldapUri)) 2541pathName.Set(this.ctxBase.Path, 1 /* ADS_SETTYPE_FULL */);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (7)
177objectClass, de.Path); 245path = de.Path; 256GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "GetAsPrincipal: using path={0}", (null != de ? de.Path : "searchResult")); 409GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "Entering Load, type={0}, path={1}", p.GetType(), de.Path); 1495GlobalDebug.WriteLineIf(GlobalDebug.Info, "ADStoreCtx", "UpdateGroupMembership: clearing {0}", de.Path); 1498de.Path, 1522de.Path,
System\DirectoryServices\AccountManagement\AD\RangeRetriever.cs (1)
33GlobalDebug.WriteLineIf(GlobalDebug.Info, "RangeRetriever", "RangeRetriever: de.Path={0}, propertyName={1}", de.Path, propertyName);
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (4)
143if (de.Path.StartsWith("WinNT:", StringComparison.Ordinal)) 149Debug.Assert(de.Path.StartsWith("LDAP:", StringComparison.Ordinal)); 380GlobalDebug.WriteLineIf(GlobalDebug.Info, "SDSUtils", "BuildDirectoryEntry (1): built DE for " + de.Path); 746"SDSUtils.AccountControlToDirectoryEntry: At PwdInfoCannotChangePassword but isSAM==false, path=" + de.Path
System\DirectoryServices\AccountManagement\AD\TokenGroupsSet.cs (1)
92GlobalDebug.WriteLineIf(GlobalDebug.Info, "TokenGroupSet", "MoveNextLocal: returning primary group {0}", _current.Path);
System\DirectoryServices\AccountManagement\Context.cs (3)
1172GlobalDebug.WriteLineIf(GlobalDebug.Info, "PrincipalContext", "CreateContextFromDirectoryEntry: path is " + entry.Path); 1174if (entry.Path.StartsWith("LDAP:", StringComparison.Ordinal)) 1187Debug.Assert(entry.Path.StartsWith("WinNT:", StringComparison.Ordinal));
System\DirectoryServices\AccountManagement\SAM\SAMGroupsSet.cs (1)
18GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMGroupsSet", "SAMGroupsSet: creating for path={0}", ctxBase.Path);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (11)
24ctxBase.Path); 177GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextLocal: real domain {0}", de.Path); 189GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextLocal: setting current to {0}", de.Path); 202GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextLocal: adding {0} to groupsToVisit", de.Path); 205if (!_groupsVisited.Contains(de.Path) && !_groupsToVisit.Contains(de.Path)) 206_groupsToVisit.Add(de.Path); 217GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextLocal: adding {0} to foreignMembers", de.Path); 281GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextForeign: foreignDE={0}", foreignDE.Path); 291GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextForeign: setting currentForeign to {0}", foreignDE.Path); 304GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMMembersSet", "MoveNextForeign: adding {0} to foreignGroups", foreignDE.Path);
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (11)
26GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SAMQuerySet: creating for path={0}, sizelimit={1}", ctxBase.Path, sizeLimit); 103GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "MoveNext: found a match on {0}", entry.Path); 254GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SamMatcher: Matches: skipping no-SID {0}", de.Path); 274GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SamMatcher: Matches: no match {0}", de.Path); 280GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SamMatcher: Matches: match {0}", de.Path); 694GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "FindByDateMatcher: Matches: skipping no-SID {0}", de.Path); 823GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "GroupMemberMatcher: Matches: skipping no-SID group={0}", groupDE.Path); 840GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "GroupMemberMatcher: Matches: skipping member no-SID member={0}", memberDE.Path); 852memberDE.Path, 853groupDE.Path); 859GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SamMatcher: Matches: no match, group={0}", groupDE.Path);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (7)
161GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMStoreCtx", "Constructing SAMStoreCtx for {0}", ctxBase.Path); 205return _ctxBase.Path; 432copyOfDe = SDSUtils.BuildDirectoryEntry(de.Path, _credentials, _authTypes); 538SDSUtils.WriteAttribute(de.Path, attribute, value, _credentials, _authTypes); 589DirectoryEntries entries = SDSUtils.BuildDirectoryEntry(_ctxBase.Path, _credentials, _authTypes).Children; 644DirectoryEntries entries = SDSUtils.BuildDirectoryEntry(_ctxBase.Path, _credentials, _authTypes).Children; 766BookmarkableResultSet resultSet = new SAMMembersSet(groupDE.Path, iADsGroup, recursive, this, _ctxBase);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (4)
72objectClass, samAccountName, de.Path); 206GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMStoreCtx", "GetAsPrincipal: using path={0}", de.Path); 283GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMStoreCtx", "Entering Load, type={0}, path={1}", p.GetType(), de.Path); 1025GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMStoreCtx", "UpdateGroupMembership: clearing {0}", de.Path);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_Query.cs (1)
87DirectoryEntries entries = SDSUtils.BuildDirectoryEntry(_ctxBase.Path, _credentials, _authTypes).Children;
System\DirectoryServices\AccountManagement\SAM\SAMUtils.cs (3)
81Debug.Fail($"SAMUtils.GetOSVersion: FormatException on {version} for {computerDE.Path}"); 86Debug.Fail($"SAMUtils.GetOSVersion: OverflowException on {version} for {computerDE.Path}"); 108Debug.Fail($"SAMUtils.DirectoryEntryAsPrincipal: fell off end, Path={de.Path}, SchemaClassName={de.SchemaClassName}");