82 references to DistinguishedName
System.DirectoryServices (82)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
1180
propertyNamesWithoutRangeRetrieval.Add(PropertyManager.
DistinguishedName
);
1229
_classEntry = DirectoryEntryManager.GetDirectoryEntry(_context, (string)GetValueFromCache(PropertyManager.
DistinguishedName
, true)!);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (3)
1218
propertiesToLoad[0] = PropertyManager.
DistinguishedName
;
1235
propertiesToLoad[0] = PropertyManager.
DistinguishedName
;
1287
_propertyEntry = DirectoryEntryManager.GetDirectoryEntry(_context, (string)GetValueFromCache(PropertyManager.
DistinguishedName
, true)!);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (14)
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);
688
DirectoryEntry tmp = DirectoryEntryManager.GetDirectoryEntry(context, "CN=NTDS Site Settings," + (string)PropertyManager.GetPropertyValue(context, cachedEntry, PropertyManager.
DistinguishedName
)!);
899
string serverContainer = "CN=Servers," + (string)PropertyManager.GetPropertyValue(context, cachedEntry, PropertyManager.
DistinguishedName
)!;
929
hostNameTable.Add((string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.
DistinguishedName
)!, (string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.DnsHostName)!);
947
string serverObjectName = Utils.GetPartialDN((string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.
DistinguishedName
)!, 2);
1019
string otherSite = Utils.GetPartialDN((string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.
DistinguishedName
)!, 4);
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
)!) + "))",
1204
string dn = (string)PropertyManager.GetSearchResultPropertyValue(result, PropertyManager.
DistinguishedName
)!;
1252
"(&(objectClass=siteLink)(objectCategory=SiteLink)(siteList=" + Utils.GetEscapedFilterValue((string)PropertyManager.GetPropertyValue(context, cachedEntry, PropertyManager.
DistinguishedName
)!) + "))",
1273
string transport = Utils.GetDNComponents((string)PropertyManager.GetSearchResultPropertyValue(result, PropertyManager.
DistinguishedName
)!)[1].Value!;
1315
fixed (char* distinguishedName = (string)PropertyManager.GetPropertyValue(context, cachedEntry, PropertyManager.
DistinguishedName
)!)
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\ActiveDirectorySiteLinkCollection.cs (9)
78
string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
)!;
83
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
106
string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
)!;
111
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
143
string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
)!;
148
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
185
string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
)!;
202
string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
)!;
218
string newdn = (string)PropertyManager.GetPropertyValue(newLink.context, newLink.cachedEntry, PropertyManager.
DistinguishedName
)!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (8)
96
string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.
DistinguishedName
)!;
101
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
124
string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.
DistinguishedName
)!;
129
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
161
string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.
DistinguishedName
)!;
166
string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
)!;
210
string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.
DistinguishedName
)!;
237
string dn = (string)PropertyManager.GetPropertyValue(subnet.context, subnet.cachedEntry, PropertyManager.
DistinguishedName
)!;
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
659
string crossRefDN = (string)PropertyManager.GetPropertyValue(context, _crossRefEntry!, PropertyManager.
DistinguishedName
)!;
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (1)
104
_ = (string?)PropertyManager.GetPropertyValue(context, serverEntry, PropertyManager.
DistinguishedName
);
System\DirectoryServices\ActiveDirectory\Domain.cs (2)
1111
propertiesToLoad[0] = PropertyManager.
DistinguishedName
;
1117
_crossRefDN = (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.
DistinguishedName
)!;
System\DirectoryServices\ActiveDirectory\PropertyManager.cs (2)
124
if (directoryEntry.Properties[PropertyManager.
DistinguishedName
].Count != 0)
126
throw new ActiveDirectoryOperationException(SR.Format(SR.PropertyNotFoundOnObject, propertyName, directoryEntry.Properties[PropertyManager.
DistinguishedName
].Value));
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
);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkBridgeCollection.cs (4)
22
string? dn = (string?)PropertyManager.GetPropertyValue(bridge.context, bridge.cachedEntry!, PropertyManager.
DistinguishedName
);
27
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry!, PropertyManager.
DistinguishedName
);
42
string? dn = (string?)PropertyManager.GetPropertyValue(bridge.context, bridge.cachedEntry!, PropertyManager.
DistinguishedName
);
47
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry!, PropertyManager.
DistinguishedName
);
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkCollection.cs (4)
22
string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
);
27
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
);
42
string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.
DistinguishedName
);
47
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.
DistinguishedName
);
System\DirectoryServices\ActiveDirectory\ReplicationConnectionCollection.cs (4)
22
string? dn = (string?)PropertyManager.GetPropertyValue(connection.context, connection.cachedDirectoryEntry, PropertyManager.
DistinguishedName
);
27
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedDirectoryEntry, PropertyManager.
DistinguishedName
);
45
string? dn = (string?)PropertyManager.GetPropertyValue(connection.context, connection.cachedDirectoryEntry, PropertyManager.
DistinguishedName
);
50
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedDirectoryEntry, PropertyManager.
DistinguishedName
);
System\DirectoryServices\ActiveDirectory\Utils.cs (15)
309
string filter = "(|(&(" + PropertyManager.ObjectCategory + "=server)(" + PropertyManager.
DistinguishedName
+ "=" + GetEscapedFilterValue(serverDn) + "))" +
310
"(&(" + PropertyManager.ObjectCategory + "=nTDSDSA)(" + PropertyManager.
DistinguishedName
+ "=" + GetEscapedFilterValue(ntdsaDn) + ")))";
367
string filter = "(|(&(" + PropertyManager.ObjectCategory + "=server)(" + PropertyManager.
DistinguishedName
+ "=" + GetEscapedFilterValue(serverDn) + "))" +
368
"(&(" + PropertyManager.ObjectCategory + "=nTDSDSA)(" + PropertyManager.
DistinguishedName
+ "=" + GetEscapedFilterValue(ntdsaDn) + ")))";
795
propertiesToLoad[0] = PropertyManager.
DistinguishedName
;
816
_ = (string?)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.
DistinguishedName
);
1322
ntdsaFilter.Append(PropertyManager.
DistinguishedName
);
1328
serverFilter.Append(PropertyManager.
DistinguishedName
);
1337
roNtdsaFilter.Append(PropertyManager.
DistinguishedName
);
1343
roServerFilter.Append(PropertyManager.
DistinguishedName
);
1463
searcher2.PropertiesToLoad.Add(PropertyManager.
DistinguishedName
);
1489
string ntdsaName = (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.
DistinguishedName
)!;
1583
serverNames.Add("CN=NTDS Settings," + (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.
DistinguishedName
)!,
1634
searcher2.PropertiesToLoad.Add(PropertyManager.
DistinguishedName
);
1642
string ntdsaName = (string)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.
DistinguishedName
)!;