-
Notifications
You must be signed in to change notification settings - Fork 0
/
RootDse.cs
122 lines (99 loc) · 3.46 KB
/
RootDse.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
using System;
using System.Collections.Generic;
namespace DirLink
{
public class RootDse : ResultWrapper
{
public RootDse(SearchResultWrapper result) : base(result)
{
}
public string ConfigurationNamingContext
{
get { return (string) RawResult.Attributes["configurationNamingContext"]; }
}
public DateTimeOffset CurrentTime
{
get { return (DateTimeOffset) RawResult.Attributes["currentTime"]; }
}
public string DefaultNamingContext
{
get { return (string) RawResult.Attributes["defaultNamingContext"]; }
}
public string DnsHostName
{
get { return (string) RawResult.Attributes["dnsHostName"]; }
}
public string DomainControllerFunctionality
{
get { return (string) RawResult.Attributes["domainControllerFunctionality"]; }
}
public string DomainFunctionality
{
get { return (string) RawResult.Attributes["domainFunctionality"]; }
}
public string DsServiceName
{
get { return (string) RawResult.Attributes["dsServiceName"]; }
}
public string ForestFunctionality
{
get { return (string) RawResult.Attributes["forestFunctionality"]; }
}
public long HighestCommittedUsn
{
get { return (long) RawResult.Attributes["highestCommittedUSN"]; }
}
public bool IsGlobalCatalogReady
{
get { return (bool) RawResult.Attributes["isGlobalCatalogReady"]; }
}
public bool IsSynchronized
{
get { return (bool) RawResult.Attributes["isSynchronized"]; }
}
public string LdapServiceName
{
get { return (string) RawResult.Attributes["ldapServiceName"]; }
}
public IList<string> NamingContexts
{
get { return (List<string>) RawResult.Attributes["namingContexts"]; }
}
public string RootDomainNamingContext
{
get { return (string) RawResult.Attributes["rootDomainNamingContext"]; }
}
public string SchemaNamingContext
{
get { return (string) RawResult.Attributes["schemaNamingContext"]; }
}
public string ServerName
{
get { return (string) RawResult.Attributes["serverName"]; }
}
public string SubschemaSubentry
{
get { return (string) RawResult.Attributes["subschemaSubentry"]; }
}
public IList<string> SupportedCapabilities
{
get { return (List<string>) RawResult.Attributes["supportedCapabilities"]; }
}
public IList<string> SupportedControls
{
get { return (List<string>) RawResult.Attributes["supportedControl"]; }
}
public IList<string> SupportedLdapPolicies
{
get { return (List<string>) RawResult.Attributes["supportedLDAPPolicies"]; }
}
public IList<string> SupportedLdapVersion
{
get { return (List<string>) RawResult.Attributes["supportedLDAPVersion"]; }
}
public IList<string> SupportedSaslMechanisms
{
get { return (List<string>) RawResult.Attributes["supportedSASLMechanisms"]; }
}
}
}