146 references to GetPropertyValue
System.DirectoryServices (146)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (1)
57
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (4)
138
schemaNC = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.SchemaNamingContext)!;
519
string adamInstName = Utils.GetAdamDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, _schemaEntry, PropertyManager.FsmoRoleOwner)!);
532
string dcName = Utils.GetDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, _schemaEntry, PropertyManager.FsmoRoleOwner)!);
539
string adamInstName = Utils.GetAdamDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, _schemaEntry, PropertyManager.FsmoRoleOwner)!);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (22)
75
sitedn = "CN=Sites," + (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
140
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
179
_siteDN = "CN=Sites," + (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
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);
372
string serverDN = (string)PropertyManager.
GetPropertyValue
(context, NTDSSiteEntry, PropertyManager.InterSiteTopologyGenerator)!;
378
hostname = (string)PropertyManager.
GetPropertyValue
(context, tmp.Parent, PropertyManager.DnsHostName)!;
390
int port = (int)PropertyManager.
GetPropertyValue
(context, tmp, PropertyManager.MsDSPortLDAP)!;
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)!;
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)
1052
int port = (int)PropertyManager.
GetPropertyValue
(context, ADAMEntry, PropertyManager.MsDSPortLDAP)!;
1135
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
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)!) + "))",
1248
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
1252
"(&(objectClass=siteLink)(objectCategory=SiteLink)(siteList=" + Utils.GetEscapedFilterValue((string)PropertyManager.
GetPropertyValue
(context, cachedEntry, PropertyManager.DistinguishedName)!) + "))",
1315
fixed (char* distinguishedName = (string)PropertyManager.
GetPropertyValue
(context, cachedEntry, PropertyManager.DistinguishedName)!)
1404
int port = (int)PropertyManager.
GetPropertyValue
(context, child, PropertyManager.MsDSPortLDAP)!;
1426
string serverContainerDN = "CN=Servers," + PropertyManager.
GetPropertyValue
(context, cachedEntry, PropertyManager.DistinguishedName);
1469
int port = (int)PropertyManager.
GetPropertyValue
(context, ADAMEntry, PropertyManager.MsDSPortLDAP)!;
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\ActiveDirectorySiteLink.cs (2)
53
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
130
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (2)
45
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
117
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
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\ActiveDirectorySubnet.cs (2)
32
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
125
string config = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ConfigurationNamingContext)!;
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\ADAMInstance.cs (11)
145
dnsHostName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DnsHostName)!;
504
_cachedHostName = (string)PropertyManager.
GetPropertyValue
(context, serverEntry, PropertyManager.DnsHostName)!;
518
_cachedLdapPort = (int)PropertyManager.
GetPropertyValue
(context, ntdsaEntry, PropertyManager.MsDSPortLDAP)!;
532
_cachedSslPort = (int)PropertyManager.
GetPropertyValue
(context, ntdsaEntry, PropertyManager.MsDSPortSSL)!;
556
if (NtdsaObjectName.Equals((string)PropertyManager.
GetPropertyValue
(context, schemaEntry, PropertyManager.FsmoRoleOwner)!))
563
if (NtdsaObjectName.Equals((string)PropertyManager.
GetPropertyValue
(context, partitionsEntry, PropertyManager.FsmoRoleOwner)!))
602
_cachedDefaultPartition = (string)PropertyManager.
GetPropertyValue
(context, ntdsaEntry, PropertyManager.MsDSDefaultNamingContext)!;
675
cachedSiteName = (string)PropertyManager.
GetPropertyValue
(context, siteEntry, PropertyManager.Cn)!;
722
cachedServerObjectName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.ServerName)!;
747
cachedNtdsaObjectName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DsServiceName)!;
770
byte[] guidByteArray = (byte[])PropertyManager.
GetPropertyValue
(context, ntdsaEntry, PropertyManager.ObjectGuid)!;
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (6)
651
string primaryServerNtdsaName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DsServiceName)!;
659
string crossRefDN = (string)PropertyManager.
GetPropertyValue
(context, _crossRefEntry!, PropertyManager.DistinguishedName)!;
915
serverDnsName = (string?)PropertyManager.
GetPropertyValue
(this.context, rootDSEEntry, PropertyManager.DnsHostName);
1036
string ntdsaName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DsServiceName)!;
1126
namingFsmo = Utils.GetDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, partitionsEntry, PropertyManager.FsmoRoleOwner)!);
1130
namingFsmo = Utils.GetAdamDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, partitionsEntry, PropertyManager.FsmoRoleOwner)!);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (7)
117
configSetName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.ConfigurationNamingContext)!;
223
_cachedSecurityLevel = (ReplicationSecurityLevel)((int)PropertyManager.
GetPropertyValue
(_context, configEntry, PropertyManager.MsDSReplAuthenticationMode)!);
352
string? isGCReady = (string?)PropertyManager.
GetPropertyValue
(forestContext, rootDSE, PropertyManager.IsGlobalCatalogReady);
393
string dnsHostName = (string?)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DnsHostName)!;
604
adamInstName = Utils.GetAdamDnsHostNameFromNTDSA(_context, (string)PropertyManager.
GetPropertyValue
(_context, entry, PropertyManager.FsmoRoleOwner)!);
697
string? schemaNamingContext = (string?)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.SchemaNamingContext);
698
string? configurationNamingContext = (string?)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.ConfigurationNamingContext);
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (8)
180
distinguishedName = (string)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.RootDomainNamingContext)!;
186
distinguishedName = (string)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.DefaultNamingContext)!;
192
distinguishedName = (string)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.SchemaNamingContext)!;
198
distinguishedName = (string)PropertyManager.
GetPropertyValue
(_context, rootDSE, PropertyManager.ConfigurationNamingContext)!;
290
distinguishedName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.RootDomainNamingContext)!;
303
distinguishedName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DefaultNamingContext)!;
316
distinguishedName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.SchemaNamingContext)!;
329
distinguishedName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.ConfigurationNamingContext)!;
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (1)
104
_ = (string?)PropertyManager.
GetPropertyValue
(context, serverEntry, PropertyManager.DistinguishedName);
System\DirectoryServices\ActiveDirectory\Domain.cs (6)
110
defaultDomainNC = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DefaultNamingContext)!;
829
string rootDomainNC = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.RootDomainNamingContext)!;
940
domainFunctionality = int.Parse((string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DomainFunctionality)!, NumberFormatInfo.InvariantInfo);
980
int ntMixedDomain = (int)PropertyManager.
GetPropertyValue
(context, domainEntry, PropertyManager.NTMixedDomain)!;
1061
dcName = Utils.GetDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, entry, PropertyManager.FsmoRoleOwner)!);
1149
parentDomainName = (string)PropertyManager.
GetPropertyValue
(context, parentCrossRef, PropertyManager.DnsRoot)!;
System\DirectoryServices\ActiveDirectory\DomainController.cs (5)
155
dcDnsName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DnsHostName)!;
607
serverUTCTime = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.CurrentTime)!;
628
serverHighestCommittedUsn = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.HighestCommittedUSN)!;
648
_cachedOSVersion = (string)PropertyManager.
GetPropertyValue
(context, computerEntry, PropertyManager.OperatingSystem)!;
665
string osVersion = (string)PropertyManager.
GetPropertyValue
(context, computerEntry, PropertyManager.OperatingSystemVersion)!;
System\DirectoryServices\ActiveDirectory\Forest.cs (2)
136
rootDomainNC = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.RootDomainNamingContext)!;
816
dcName = Utils.GetDnsHostNameFromNTDSA(_context, (string)PropertyManager.
GetPropertyValue
(_context, entry, PropertyManager.FsmoRoleOwner)!);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (2)
65
gcDnsName = (string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.DnsHostName)!;
66
isGlobalCatalog = (bool)bool.Parse((string)PropertyManager.
GetPropertyValue
(context, rootDSE, PropertyManager.IsGlobalCatalogReady)!);
System\DirectoryServices\ActiveDirectory\PropertyManager.cs (1)
111
return
GetPropertyValue
(null, directoryEntry, propertyName);
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\ReplicationConnection.cs (15)
50
string serverDN = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ServerName)!;
139
string serverDN = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ServerName)!;
153
string serverName = (string)PropertyManager.
GetPropertyValue
(sourceServerContext, de, PropertyManager.ServerName)!;
246
string sourceServerDN = (string)PropertyManager.
GetPropertyValue
(context, cachedDirectoryEntry, PropertyManager.FromServer)!;
250
int portnumber = (int)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.MsDSPortLDAP)!;
251
string? tmpServerName = (string?)PropertyManager.
GetPropertyValue
(context, de.Parent, PropertyManager.DnsHostName);
259
_sourceServerName = (string?)PropertyManager.
GetPropertyValue
(context, de.Parent, PropertyManager.DnsHostName);
287
string hostName = (string)PropertyManager.
GetPropertyValue
(context, serverObject, PropertyManager.DnsHostName)!;
290
int portnumber = (int)PropertyManager.
GetPropertyValue
(context, NTDSObject, PropertyManager.MsDSPortLDAP)!;
751
string destinationPath = (string)PropertyManager.
GetPropertyValue
(context, cachedDirectoryEntry, PropertyManager.FromServer)!;
755
string serverDN = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.ServerName)!;
960
string? targetRoot = (string?)PropertyManager.
GetPropertyValue
(context, targetDE, PropertyManager.RootDomainNamingContext);
961
string? sourceRoot = (string?)PropertyManager.
GetPropertyValue
(sourceServer.Context, sourceDE, PropertyManager.RootDomainNamingContext);
969
string? targetRoot = (string?)PropertyManager.
GetPropertyValue
(context, targetDE, PropertyManager.ConfigurationNamingContext);
970
string? sourceRoot = (string?)PropertyManager.
GetPropertyValue
(sourceServer.Context, sourceDE, PropertyManager.ConfigurationNamingContext);
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 (7)
289
dcName = (string)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.DnsHostName)!;
907
originatingServerName = (string?)PropertyManager.
GetPropertyValue
(server.Context, srvEntry, PropertyManager.DnsHostName);
933
int portnumber = (int)PropertyManager.
GetPropertyValue
(server.Context, de, PropertyManager.MsDSPortLDAP)!;
1043
string? namingContext = (string?)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.DefaultNamingContext);
1044
string? rootNamingContext = (string?)PropertyManager.
GetPropertyValue
(context, de, PropertyManager.RootDomainNamingContext);
1276
fsmoRoleOwnerName = Utils.GetAdamDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, partitionsEntry, PropertyManager.FsmoRoleOwner)!);
1280
fsmoRoleOwnerName = Utils.GetDnsHostNameFromNTDSA(context, (string)PropertyManager.
GetPropertyValue
(context, partitionsEntry, PropertyManager.FsmoRoleOwner)!);