API Reference
Class
LdapServerReadableFactory
Factory for creating LdapServerReadable from LdapServerResult.
Inheritance
- Object
- LdapServerReadableFactory
Methods
public static LdapServerReadable Create(LdapServerResult result, Boolean verifyCertificate, IReadOnlyList<String> certificateIncludeDomainName, String identity, NetworkCredential credential = null, Nullable<AuthType> authType = null, Int32 maxEndpointConcurrency = 4, Int32 portLdapNumber = 389, Int32 portLdapsNumber = 636, Int32 gcPortLdapNumber = 3268, Int32 gcPortLdapsNumber = 3269, Boolean skipGlobalCatalog = false, Int32 enrichmentTimeoutMs = 3000, Nullable<Boolean> knownIsGlobalCatalog = null) #Returns:
LdapServerReadableCreates a readable view for a single server result.
Parameters
- result ADPlayground.Ldap.LdapServerResult
- Detailed server result.
- verifyCertificate System.Boolean
- Indicates if certificate checks were performed.
- certificateIncludeDomainName System.Collections.Generic.IReadOnlyList{System.String}
- Optional list of DNS names that must be present on the certificate to report OK status.
- identity System.String
- Optional identity string used for search.
- credential System.Net.NetworkCredential = null
- Optional network credential for binding.
- authType System.Nullable{System.DirectoryServices.Protocols.AuthType} = null
- Optional authentication type override.
- maxEndpointConcurrency System.Int32 = 4
- Maximum simultaneous connections per endpoint.
- portLdapNumber System.Int32 = 389
- Port number for standard LDAP.
- portLdapsNumber System.Int32 = 636
- Port number for LDAPS.
- gcPortLdapNumber System.Int32 = 3268
- Port number for global catalog LDAP.
- gcPortLdapsNumber System.Int32 = 3269
- Port number for global catalog LDAPS.
- skipGlobalCatalog System.Boolean = false
- Skip querying global catalog ports.
- enrichmentTimeoutMs System.Int32 = 3000
- Per-step timeout budget (ms) for enriching the readable view (site/OS/DNS/IP lookups).
- knownIsGlobalCatalog System.Nullable{System.Boolean} = null
- Optional authoritative Global Catalog state from directory facts.
public static async Task<LdapServerReadable> CreateAsync(LdapServerResult result, Boolean verifyCertificate, IReadOnlyList<String> certificateIncludeDomainName, String identity, NetworkCredential credential = null, Nullable<AuthType> authType = null, Int32 maxEndpointConcurrency = 4, Int32 portLdapNumber = 389, Int32 portLdapsNumber = 636, Int32 gcPortLdapNumber = 3268, Int32 gcPortLdapsNumber = 3269, Boolean skipGlobalCatalog = false, Int32 enrichmentTimeoutMs = 3000, CancellationToken cancellationToken = null, Nullable<Boolean> knownIsGlobalCatalog = null) #Returns:
Task<LdapServerReadable>Creates a readable view for a single server result.
Parameters
- result ADPlayground.Ldap.LdapServerResult
- Detailed server result.
- verifyCertificate System.Boolean
- Indicates if certificate checks were performed.
- certificateIncludeDomainName System.Collections.Generic.IReadOnlyList{System.String}
- Optional list of DNS names that must be present on the certificate to report OK status.
- identity System.String
- Optional identity string used for search.
- credential System.Net.NetworkCredential = null
- Optional network credential for binding.
- authType System.Nullable{System.DirectoryServices.Protocols.AuthType} = null
- Optional authentication type override.
- maxEndpointConcurrency System.Int32 = 4
- Maximum simultaneous connections per endpoint.
- portLdapNumber System.Int32 = 389
- Port number for standard LDAP.
- portLdapsNumber System.Int32 = 636
- Port number for LDAPS.
- gcPortLdapNumber System.Int32 = 3268
- Port number for global catalog LDAP.
- gcPortLdapsNumber System.Int32 = 3269
- Port number for global catalog LDAPS.
- skipGlobalCatalog System.Boolean = false
- Skip querying global catalog ports.
- enrichmentTimeoutMs System.Int32 = 3000
- Per-step timeout budget (ms) for enriching the readable view (site/OS/DNS/IP lookups).
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
- knownIsGlobalCatalog System.Nullable{System.Boolean} = null
- Optional authoritative Global Catalog state from directory facts.