2 writes to cachedEntry
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (2)
147
cachedEntry
= de.Children.Add(rdn, "site");
181
cachedEntry
= DirectoryEntryManager.GetDirectoryEntry(context, "CN=" + siteName + "," + _siteDN);
40 references to cachedEntry
System.DirectoryServices (40)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (25)
185
_RPCBridgeheadServers = new DirectoryServerCollection(context, (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!, transportDN);
187
_SMTPBridgeheadServers = new DirectoryServerCollection(context, (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!, transportDN);
483
if (
cachedEntry
.Properties.Contains("location"))
485
return (string)
cachedEntry
.Properties["location"][0]!;
504
if (
cachedEntry
.Properties.Contains("location"))
505
cachedEntry
.Properties["location"].Clear();
509
cachedEntry
.Properties["location"].Value = value;
688
DirectoryEntry tmp = DirectoryEntryManager.GetDirectoryEntry(context, "CN=NTDS Site Settings," + (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!);
726
cachedEntry
.CommitChanges();
810
DirectoryEntry tmpEntry =
cachedEntry
.Children.Add("CN=NTDS Site Settings", "nTDSSiteSettings");
829
tmpEntry =
cachedEntry
.Children.Add("CN=Servers", "serversContainer");
835
tmpEntry =
cachedEntry
.Children.Add("CN=Licensing Site Settings", "licensingSiteSettings");
865
cachedEntry
.DeleteTree();
899
string serverContainer = "CN=Servers," + (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!;
957
if (Utils.Compare((string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.Cn)!, fromSite) != 0)
1027
if (Utils.Compare(otherSite, (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.Cn)!) != 0)
1083
return DirectoryEntryManager.GetDirectoryEntryInternal(context,
cachedEntry
.Path);
1098
cachedEntry
?.Dispose();
1140
"(&(objectClass=subnet)(objectCategory=subnet)(siteObject=" + Utils.GetEscapedFilterValue((string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!) + "))",
1184
"(&(objectClass=siteLink)(objectCategory=SiteLink)(siteList=" + Utils.GetEscapedFilterValue((string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!) + "))",
1252
"(&(objectClass=siteLink)(objectCategory=SiteLink)(siteList=" + Utils.GetEscapedFilterValue((string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!) + "))",
1301
string serverName =
cachedEntry
.Options!.GetCurrentServerName();
1315
fixed (char* distinguishedName = (string)PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName)!)
1366
ADSearcher adSearcher = new ADSearcher(
cachedEntry
,
1426
string serverContainerDN = "CN=Servers," + PropertyManager.GetPropertyValue(context,
cachedEntry
, PropertyManager.DistinguishedName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteCollection.cs (9)
80
string dn = (string)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName)!;
85
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedEntry
, PropertyManager.DistinguishedName)!;
107
string dn = (string)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName)!;
112
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedEntry
, PropertyManager.DistinguishedName)!;
142
string dn = (string)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName)!;
147
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedEntry
, PropertyManager.DistinguishedName)!;
184
string dn = (string)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName)!;
201
string dn = (string)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName)!;
217
string newdn = (string)PropertyManager.GetPropertyValue(newsite.context, newsite.
cachedEntry
, PropertyManager.DistinguishedName)!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (2)
289
cachedEntry.Properties["siteObject"].Value = _site.
cachedEntry
.Properties["distinguishedName"][0];
296
cachedEntry.Properties["siteObject"].Add(_site!.
cachedEntry
.Properties["distinguishedName"][0]);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteCollection.cs (4)
27
string? dn = (string?)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName);
33
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedEntry
, PropertyManager.DistinguishedName);
48
string? dn = (string?)PropertyManager.GetPropertyValue(site.context, site.
cachedEntry
, PropertyManager.DistinguishedName);
54
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedEntry
, PropertyManager.DistinguishedName);