Merge pull request #823 from DavidKarlas/master
[mono.git] / mcs / class / System.DirectoryServices / System.DirectoryServices.ActiveDirectory / DomainController.cs
1 /******************************************************************************
2 * The MIT License
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining  a copy
5 * of this software and associated documentation files (the Software), to deal
6 * in the Software without restriction, including  without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to  permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 * SOFTWARE.
21 *******************************************************************************/
22 using System;
23 using System.Net;
24 using System.Security.Permissions;
25
26 namespace System.DirectoryServices.ActiveDirectory
27 {
28         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true)]
29         public class DomainController : DirectoryServer
30         {
31                 public Forest Forest {
32                         get {
33                                 throw new NotImplementedException ();
34                         }
35                 }
36
37                 public DateTime CurrentTime {
38                         get {
39                                 throw new NotImplementedException ();
40                         }
41                 }
42
43                 public long HighestCommittedUsn {
44                         get {
45                                 throw new NotImplementedException ();
46                         }
47                 }
48
49                 public string OSVersion {
50                         get {
51                                 throw new NotImplementedException ();
52                         }
53                 }
54
55                 public ActiveDirectoryRoleCollection Roles {
56                         get {
57                                 throw new NotImplementedException ();
58                         }
59                 }
60
61                 public Domain Domain {
62                         get {
63                                 throw new NotImplementedException ();
64                         }
65                 }
66
67                 public override string IPAddress {
68                         [DnsPermission(SecurityAction.Assert, Unrestricted = true), DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
69                         get {
70                                 throw new NotImplementedException ();
71                         }
72                 }
73
74                 public override string SiteName {
75                         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
76                         get {
77                                 throw new NotImplementedException ();
78                         }
79                 }
80
81                 public override SyncUpdateCallback SyncFromAllServersCallback {
82                         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
83                         get {
84                                 throw new NotImplementedException ();
85                         }
86                         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
87                         set {
88                                 throw new NotImplementedException ();
89                         }
90                 }
91
92                 public override ReplicationConnectionCollection InboundConnections {
93                         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
94                         get {
95                                 throw new NotImplementedException ();
96                         }
97                 }
98
99                 public override ReplicationConnectionCollection OutboundConnections {
100                         [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
101                         get {
102                                 throw new NotImplementedException ();
103                         }
104                 }
105
106                 protected DomainController ()
107                 {
108                 }
109
110                 protected override void Dispose (bool disposing)
111                 {
112                         base.Dispose ();
113
114                 }
115
116                 public static DomainController GetDomainController (DirectoryContext context)
117                 {
118                         throw new NotImplementedException ();
119                 }
120
121                 public static DomainController FindOne (DirectoryContext context)
122                 {
123                         throw new NotImplementedException ();
124                 }
125
126                 public static DomainController FindOne (DirectoryContext context, string siteName)
127                 {
128                         throw new NotImplementedException ();
129                 }
130
131                 public static DomainController FindOne (DirectoryContext context, LocatorOptions flag)
132                 {
133                         throw new NotImplementedException ();
134                 }
135
136                 public static DomainController FindOne (DirectoryContext context, string siteName, LocatorOptions flag)
137                 {
138                         throw new NotImplementedException ();
139                 }
140
141                 public static DomainControllerCollection FindAll (DirectoryContext context)
142                 {
143                         throw new NotImplementedException ();
144                 }
145
146                 public static DomainControllerCollection FindAll (DirectoryContext context, string siteName)
147                 {
148                         throw new NotImplementedException ();
149                 }
150
151                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
152                 public virtual GlobalCatalog EnableGlobalCatalog ()
153                 {
154                         throw new NotImplementedException ();
155                 }
156
157                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
158                 public virtual bool IsGlobalCatalog ()
159                 {
160                         throw new NotImplementedException ();
161                 }
162
163                 public void TransferRoleOwnership (ActiveDirectoryRole role)
164                 {
165                         throw new NotImplementedException ();
166                 }
167
168                 public void SeizeRoleOwnership (ActiveDirectoryRole role)
169                 {
170                         throw new NotImplementedException ();
171                 }
172
173                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
174                 public virtual DirectorySearcher GetDirectorySearcher ()
175                 {
176                         throw new NotImplementedException ();
177                 }
178
179                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
180                 public override void CheckReplicationConsistency ()
181                 {
182                         throw new NotImplementedException ();
183                 }
184
185                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
186                 public override ReplicationCursorCollection GetReplicationCursors (string partition)
187                 {
188                         throw new NotImplementedException ();
189                 }
190
191                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
192                 public override ReplicationOperationInformation GetReplicationOperationInformation ()
193                 {
194                         throw new NotImplementedException ();
195                 }
196
197                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
198                 public override ReplicationNeighborCollection GetReplicationNeighbors (string partition)
199                 {
200                         throw new NotImplementedException ();
201                 }
202
203                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
204                 public override ReplicationNeighborCollection GetAllReplicationNeighbors ()
205                 {
206                         throw new NotImplementedException ();
207                 }
208
209                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
210                 public override ReplicationFailureCollection GetReplicationConnectionFailures ()
211                 {
212                         throw new NotImplementedException ();
213                 }
214
215                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
216                 public override ActiveDirectoryReplicationMetadata GetReplicationMetadata (string objectPath)
217                 {
218                         throw new NotImplementedException ();
219                 }
220
221                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
222                 public override void SyncReplicaFromServer (string partition, string sourceServer)
223                 {
224                         throw new NotImplementedException ();
225                 }
226
227                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
228                 public override void TriggerSyncReplicaFromNeighbors (string partition)
229                 {
230                         throw new NotImplementedException ();
231                 }
232
233                 [DirectoryServicesPermission(SecurityAction.LinkDemand, Unrestricted = true), DirectoryServicesPermission(SecurityAction.InheritanceDemand, Unrestricted = true)]
234                 public override void SyncReplicaFromAllServers (string partition, SyncFromAllServersOptions options)
235                 {
236                         throw new NotImplementedException ();
237                 }
238
239         }
240 }