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