1 | //------------------------------------------------------------------------------
|
---|
2 | // <auto-generated>
|
---|
3 | // This code was generated by a tool.
|
---|
4 | // Runtime Version:4.0.30319.237
|
---|
5 | //
|
---|
6 | // Changes to this file may cause incorrect behavior and will be lost if
|
---|
7 | // the code is regenerated.
|
---|
8 | // </auto-generated>
|
---|
9 | //------------------------------------------------------------------------------
|
---|
10 |
|
---|
11 | namespace HeuristicLab.Clients.UserManagement {
|
---|
12 |
|
---|
13 |
|
---|
14 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
15 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
16 | [System.Runtime.Serialization.DataContractAttribute(Name = "UserManagementItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.UserManagement.Data" +
|
---|
17 | "Transfer")]
|
---|
18 | [System.SerializableAttribute()]
|
---|
19 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.User))]
|
---|
20 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.Role))]
|
---|
21 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.Application))]
|
---|
22 | public partial class UserManagementItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
---|
23 |
|
---|
24 | [System.NonSerializedAttribute()]
|
---|
25 | private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
---|
26 |
|
---|
27 | public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
---|
28 | get {
|
---|
29 | return this.extensionDataField;
|
---|
30 | }
|
---|
31 | set {
|
---|
32 | this.extensionDataField = value;
|
---|
33 | }
|
---|
34 | }
|
---|
35 |
|
---|
36 | public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
---|
37 |
|
---|
38 | protected void RaisePropertyChanged(string propertyName) {
|
---|
39 | System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
---|
40 | if ((propertyChanged != null)) {
|
---|
41 | propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
---|
42 | }
|
---|
43 | }
|
---|
44 | }
|
---|
45 |
|
---|
46 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
47 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
48 | [System.Runtime.Serialization.DataContractAttribute(Name = "User", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.UserManagement.Data" +
|
---|
49 | "Transfer")]
|
---|
50 | [System.SerializableAttribute()]
|
---|
51 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.Application))]
|
---|
52 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.UserManagementItem))]
|
---|
53 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.User>))]
|
---|
54 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.UserManagement.Role))]
|
---|
55 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Role>))]
|
---|
56 | [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Application>))]
|
---|
57 | public partial class User : HeuristicLab.Clients.UserManagement.UserManagementItem {
|
---|
58 |
|
---|
59 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
60 | private HeuristicLab.Clients.UserManagement.Application AppField;
|
---|
61 |
|
---|
62 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
63 | private string CommentField;
|
---|
64 |
|
---|
65 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
66 | private System.DateTime CreationDateField;
|
---|
67 |
|
---|
68 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
69 | private string EmailField;
|
---|
70 |
|
---|
71 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
72 | private bool IsApprovedField;
|
---|
73 |
|
---|
74 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
75 | private bool IsLockedOutField;
|
---|
76 |
|
---|
77 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
78 | private bool IsOnlineField;
|
---|
79 |
|
---|
80 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
81 | private System.DateTime LastActivityDateField;
|
---|
82 |
|
---|
83 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
84 | private System.DateTime LastLockoutDateField;
|
---|
85 |
|
---|
86 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
87 | private System.DateTime LastLoginDateField;
|
---|
88 |
|
---|
89 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
90 | private System.DateTime LastPasswordChangedDateField;
|
---|
91 |
|
---|
92 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
93 | private string PasswordQuestionField;
|
---|
94 |
|
---|
95 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
96 | private string ProviderNameField;
|
---|
97 |
|
---|
98 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
99 | private object ProviderUserKeyField;
|
---|
100 |
|
---|
101 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
102 | private string UserNameField;
|
---|
103 |
|
---|
104 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
105 | public HeuristicLab.Clients.UserManagement.Application App {
|
---|
106 | get {
|
---|
107 | return this.AppField;
|
---|
108 | }
|
---|
109 | set {
|
---|
110 | if ((object.ReferenceEquals(this.AppField, value) != true)) {
|
---|
111 | this.AppField = value;
|
---|
112 | this.RaisePropertyChanged("App");
|
---|
113 | }
|
---|
114 | }
|
---|
115 | }
|
---|
116 |
|
---|
117 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
118 | public string Comment {
|
---|
119 | get {
|
---|
120 | return this.CommentField;
|
---|
121 | }
|
---|
122 | set {
|
---|
123 | if ((object.ReferenceEquals(this.CommentField, value) != true)) {
|
---|
124 | this.CommentField = value;
|
---|
125 | this.RaisePropertyChanged("Comment");
|
---|
126 | }
|
---|
127 | }
|
---|
128 | }
|
---|
129 |
|
---|
130 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
131 | public System.DateTime CreationDate {
|
---|
132 | get {
|
---|
133 | return this.CreationDateField;
|
---|
134 | }
|
---|
135 | set {
|
---|
136 | if ((this.CreationDateField.Equals(value) != true)) {
|
---|
137 | this.CreationDateField = value;
|
---|
138 | this.RaisePropertyChanged("CreationDate");
|
---|
139 | }
|
---|
140 | }
|
---|
141 | }
|
---|
142 |
|
---|
143 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
144 | public string Email {
|
---|
145 | get {
|
---|
146 | return this.EmailField;
|
---|
147 | }
|
---|
148 | set {
|
---|
149 | if ((object.ReferenceEquals(this.EmailField, value) != true)) {
|
---|
150 | this.EmailField = value;
|
---|
151 | this.RaisePropertyChanged("Email");
|
---|
152 | }
|
---|
153 | }
|
---|
154 | }
|
---|
155 |
|
---|
156 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
157 | public bool IsApproved {
|
---|
158 | get {
|
---|
159 | return this.IsApprovedField;
|
---|
160 | }
|
---|
161 | set {
|
---|
162 | if ((this.IsApprovedField.Equals(value) != true)) {
|
---|
163 | this.IsApprovedField = value;
|
---|
164 | this.RaisePropertyChanged("IsApproved");
|
---|
165 | }
|
---|
166 | }
|
---|
167 | }
|
---|
168 |
|
---|
169 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
170 | public bool IsLockedOut {
|
---|
171 | get {
|
---|
172 | return this.IsLockedOutField;
|
---|
173 | }
|
---|
174 | set {
|
---|
175 | if ((this.IsLockedOutField.Equals(value) != true)) {
|
---|
176 | this.IsLockedOutField = value;
|
---|
177 | this.RaisePropertyChanged("IsLockedOut");
|
---|
178 | }
|
---|
179 | }
|
---|
180 | }
|
---|
181 |
|
---|
182 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
183 | public bool IsOnline {
|
---|
184 | get {
|
---|
185 | return this.IsOnlineField;
|
---|
186 | }
|
---|
187 | set {
|
---|
188 | if ((this.IsOnlineField.Equals(value) != true)) {
|
---|
189 | this.IsOnlineField = value;
|
---|
190 | this.RaisePropertyChanged("IsOnline");
|
---|
191 | }
|
---|
192 | }
|
---|
193 | }
|
---|
194 |
|
---|
195 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
196 | public System.DateTime LastActivityDate {
|
---|
197 | get {
|
---|
198 | return this.LastActivityDateField;
|
---|
199 | }
|
---|
200 | set {
|
---|
201 | if ((this.LastActivityDateField.Equals(value) != true)) {
|
---|
202 | this.LastActivityDateField = value;
|
---|
203 | this.RaisePropertyChanged("LastActivityDate");
|
---|
204 | }
|
---|
205 | }
|
---|
206 | }
|
---|
207 |
|
---|
208 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
209 | public System.DateTime LastLockoutDate {
|
---|
210 | get {
|
---|
211 | return this.LastLockoutDateField;
|
---|
212 | }
|
---|
213 | set {
|
---|
214 | if ((this.LastLockoutDateField.Equals(value) != true)) {
|
---|
215 | this.LastLockoutDateField = value;
|
---|
216 | this.RaisePropertyChanged("LastLockoutDate");
|
---|
217 | }
|
---|
218 | }
|
---|
219 | }
|
---|
220 |
|
---|
221 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
222 | public System.DateTime LastLoginDate {
|
---|
223 | get {
|
---|
224 | return this.LastLoginDateField;
|
---|
225 | }
|
---|
226 | set {
|
---|
227 | if ((this.LastLoginDateField.Equals(value) != true)) {
|
---|
228 | this.LastLoginDateField = value;
|
---|
229 | this.RaisePropertyChanged("LastLoginDate");
|
---|
230 | }
|
---|
231 | }
|
---|
232 | }
|
---|
233 |
|
---|
234 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
235 | public System.DateTime LastPasswordChangedDate {
|
---|
236 | get {
|
---|
237 | return this.LastPasswordChangedDateField;
|
---|
238 | }
|
---|
239 | set {
|
---|
240 | if ((this.LastPasswordChangedDateField.Equals(value) != true)) {
|
---|
241 | this.LastPasswordChangedDateField = value;
|
---|
242 | this.RaisePropertyChanged("LastPasswordChangedDate");
|
---|
243 | }
|
---|
244 | }
|
---|
245 | }
|
---|
246 |
|
---|
247 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
248 | public string PasswordQuestion {
|
---|
249 | get {
|
---|
250 | return this.PasswordQuestionField;
|
---|
251 | }
|
---|
252 | set {
|
---|
253 | if ((object.ReferenceEquals(this.PasswordQuestionField, value) != true)) {
|
---|
254 | this.PasswordQuestionField = value;
|
---|
255 | this.RaisePropertyChanged("PasswordQuestion");
|
---|
256 | }
|
---|
257 | }
|
---|
258 | }
|
---|
259 |
|
---|
260 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
261 | public string ProviderName {
|
---|
262 | get {
|
---|
263 | return this.ProviderNameField;
|
---|
264 | }
|
---|
265 | set {
|
---|
266 | if ((object.ReferenceEquals(this.ProviderNameField, value) != true)) {
|
---|
267 | this.ProviderNameField = value;
|
---|
268 | this.RaisePropertyChanged("ProviderName");
|
---|
269 | }
|
---|
270 | }
|
---|
271 | }
|
---|
272 |
|
---|
273 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
274 | public object ProviderUserKey {
|
---|
275 | get {
|
---|
276 | return this.ProviderUserKeyField;
|
---|
277 | }
|
---|
278 | set {
|
---|
279 | if ((object.ReferenceEquals(this.ProviderUserKeyField, value) != true)) {
|
---|
280 | this.ProviderUserKeyField = value;
|
---|
281 | this.RaisePropertyChanged("ProviderUserKey");
|
---|
282 | }
|
---|
283 | }
|
---|
284 | }
|
---|
285 |
|
---|
286 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
287 | public string UserName {
|
---|
288 | get {
|
---|
289 | return this.UserNameField;
|
---|
290 | }
|
---|
291 | set {
|
---|
292 | if ((object.ReferenceEquals(this.UserNameField, value) != true)) {
|
---|
293 | this.UserNameField = value;
|
---|
294 | this.RaisePropertyChanged("UserName");
|
---|
295 | }
|
---|
296 | }
|
---|
297 | }
|
---|
298 | }
|
---|
299 |
|
---|
300 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
301 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
302 | [System.Runtime.Serialization.DataContractAttribute(Name = "Role", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.UserManagement.Data" +
|
---|
303 | "Transfer")]
|
---|
304 | [System.SerializableAttribute()]
|
---|
305 | public partial class Role : HeuristicLab.Clients.UserManagement.UserManagementItem {
|
---|
306 |
|
---|
307 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
308 | private HeuristicLab.Clients.UserManagement.Application AppField;
|
---|
309 |
|
---|
310 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
311 | private string RoleNameField;
|
---|
312 |
|
---|
313 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
314 | public HeuristicLab.Clients.UserManagement.Application App {
|
---|
315 | get {
|
---|
316 | return this.AppField;
|
---|
317 | }
|
---|
318 | set {
|
---|
319 | if ((object.ReferenceEquals(this.AppField, value) != true)) {
|
---|
320 | this.AppField = value;
|
---|
321 | this.RaisePropertyChanged("App");
|
---|
322 | }
|
---|
323 | }
|
---|
324 | }
|
---|
325 |
|
---|
326 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
327 | public string RoleName {
|
---|
328 | get {
|
---|
329 | return this.RoleNameField;
|
---|
330 | }
|
---|
331 | set {
|
---|
332 | if ((object.ReferenceEquals(this.RoleNameField, value) != true)) {
|
---|
333 | this.RoleNameField = value;
|
---|
334 | this.RaisePropertyChanged("RoleName");
|
---|
335 | }
|
---|
336 | }
|
---|
337 | }
|
---|
338 | }
|
---|
339 |
|
---|
340 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
341 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
---|
342 | [System.Runtime.Serialization.DataContractAttribute(Name = "Application", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.UserManagement.Data" +
|
---|
343 | "Transfer")]
|
---|
344 | [System.SerializableAttribute()]
|
---|
345 | public partial class Application : HeuristicLab.Clients.UserManagement.UserManagementItem {
|
---|
346 |
|
---|
347 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
348 | private string DescriptionField;
|
---|
349 |
|
---|
350 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
351 | private System.Guid IdField;
|
---|
352 |
|
---|
353 | [System.Runtime.Serialization.OptionalFieldAttribute()]
|
---|
354 | private string NameField;
|
---|
355 |
|
---|
356 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
357 | public string Description {
|
---|
358 | get {
|
---|
359 | return this.DescriptionField;
|
---|
360 | }
|
---|
361 | set {
|
---|
362 | if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
|
---|
363 | this.DescriptionField = value;
|
---|
364 | this.RaisePropertyChanged("Description");
|
---|
365 | }
|
---|
366 | }
|
---|
367 | }
|
---|
368 |
|
---|
369 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
370 | public System.Guid Id {
|
---|
371 | get {
|
---|
372 | return this.IdField;
|
---|
373 | }
|
---|
374 | set {
|
---|
375 | if ((this.IdField.Equals(value) != true)) {
|
---|
376 | this.IdField = value;
|
---|
377 | this.RaisePropertyChanged("Id");
|
---|
378 | }
|
---|
379 | }
|
---|
380 | }
|
---|
381 |
|
---|
382 | [System.Runtime.Serialization.DataMemberAttribute()]
|
---|
383 | public string Name {
|
---|
384 | get {
|
---|
385 | return this.NameField;
|
---|
386 | }
|
---|
387 | set {
|
---|
388 | if ((object.ReferenceEquals(this.NameField, value) != true)) {
|
---|
389 | this.NameField = value;
|
---|
390 | this.RaisePropertyChanged("Name");
|
---|
391 | }
|
---|
392 | }
|
---|
393 | }
|
---|
394 | }
|
---|
395 |
|
---|
396 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
397 | [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.UserManagement.IUserManagementService")]
|
---|
398 | public interface IUserManagementService {
|
---|
399 |
|
---|
400 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetUsers", ReplyAction = "http://tempuri.org/IUserManagementService/GetUsersResponse")]
|
---|
401 | System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.User> GetUsers(HeuristicLab.Clients.UserManagement.Application application);
|
---|
402 |
|
---|
403 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/AddUser", ReplyAction = "http://tempuri.org/IUserManagementService/AddUserResponse")]
|
---|
404 | HeuristicLab.Clients.UserManagement.User AddUser(HeuristicLab.Clients.UserManagement.User user);
|
---|
405 |
|
---|
406 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/DeleteUser", ReplyAction = "http://tempuri.org/IUserManagementService/DeleteUserResponse")]
|
---|
407 | void DeleteUser(HeuristicLab.Clients.UserManagement.User user);
|
---|
408 |
|
---|
409 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/UpdateUser", ReplyAction = "http://tempuri.org/IUserManagementService/UpdateUserResponse")]
|
---|
410 | void UpdateUser(HeuristicLab.Clients.UserManagement.User user);
|
---|
411 |
|
---|
412 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/AddUserToRole", ReplyAction = "http://tempuri.org/IUserManagementService/AddUserToRoleResponse")]
|
---|
413 | void AddUserToRole(HeuristicLab.Clients.UserManagement.Role role, HeuristicLab.Clients.UserManagement.User user);
|
---|
414 |
|
---|
415 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/RemoveUserFromRole", ReplyAction = "http://tempuri.org/IUserManagementService/RemoveUserFromRoleResponse")]
|
---|
416 | void RemoveUserFromRole(HeuristicLab.Clients.UserManagement.Role role, HeuristicLab.Clients.UserManagement.User user);
|
---|
417 |
|
---|
418 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/IsUserInRole", ReplyAction = "http://tempuri.org/IUserManagementService/IsUserInRoleResponse")]
|
---|
419 | bool IsUserInRole(HeuristicLab.Clients.UserManagement.User user, HeuristicLab.Clients.UserManagement.Role role);
|
---|
420 |
|
---|
421 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/ResetPassword", ReplyAction = "http://tempuri.org/IUserManagementService/ResetPasswordResponse")]
|
---|
422 | HeuristicLab.Clients.UserManagement.User ResetPassword(string applicationName, string userName, string password);
|
---|
423 |
|
---|
424 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetRoles", ReplyAction = "http://tempuri.org/IUserManagementService/GetRolesResponse")]
|
---|
425 | System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Role> GetRoles(HeuristicLab.Clients.UserManagement.Application application);
|
---|
426 |
|
---|
427 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/AddRole", ReplyAction = "http://tempuri.org/IUserManagementService/AddRoleResponse")]
|
---|
428 | HeuristicLab.Clients.UserManagement.Role AddRole(HeuristicLab.Clients.UserManagement.Role role);
|
---|
429 |
|
---|
430 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/UpdateRole", ReplyAction = "http://tempuri.org/IUserManagementService/UpdateRoleResponse")]
|
---|
431 | void UpdateRole(HeuristicLab.Clients.UserManagement.Role role);
|
---|
432 |
|
---|
433 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/DeleteRole", ReplyAction = "http://tempuri.org/IUserManagementService/DeleteRoleResponse")]
|
---|
434 | void DeleteRole(HeuristicLab.Clients.UserManagement.Role role);
|
---|
435 |
|
---|
436 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetUserRoles", ReplyAction = "http://tempuri.org/IUserManagementService/GetUserRolesResponse")]
|
---|
437 | System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Role> GetUserRoles(HeuristicLab.Clients.UserManagement.User user);
|
---|
438 |
|
---|
439 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetApplications", ReplyAction = "http://tempuri.org/IUserManagementService/GetApplicationsResponse")]
|
---|
440 | System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Application> GetApplications();
|
---|
441 |
|
---|
442 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetApplicationUsers", ReplyAction = "http://tempuri.org/IUserManagementService/GetApplicationUsersResponse")]
|
---|
443 | System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.User> GetApplicationUsers(HeuristicLab.Clients.UserManagement.Application application);
|
---|
444 |
|
---|
445 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/AddApplication", ReplyAction = "http://tempuri.org/IUserManagementService/AddApplicationResponse")]
|
---|
446 | HeuristicLab.Clients.UserManagement.Application AddApplication(HeuristicLab.Clients.UserManagement.Application application);
|
---|
447 |
|
---|
448 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/UpdateApplication", ReplyAction = "http://tempuri.org/IUserManagementService/UpdateApplicationResponse")]
|
---|
449 | void UpdateApplication(HeuristicLab.Clients.UserManagement.Application application);
|
---|
450 |
|
---|
451 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/DeleteApplication", ReplyAction = "http://tempuri.org/IUserManagementService/DeleteApplicationResponse")]
|
---|
452 | void DeleteApplication(HeuristicLab.Clients.UserManagement.Application application);
|
---|
453 |
|
---|
454 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/CheckUserExists", ReplyAction = "http://tempuri.org/IUserManagementService/CheckUserExistsResponse")]
|
---|
455 | bool CheckUserExists(string application, string userName, string password);
|
---|
456 |
|
---|
457 | [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IUserManagementService/GetUser", ReplyAction = "http://tempuri.org/IUserManagementService/GetUserResponse")]
|
---|
458 | bool GetUser(string application, string userName, string password);
|
---|
459 | }
|
---|
460 |
|
---|
461 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
462 | public interface IUserManagementServiceChannel : HeuristicLab.Clients.UserManagement.IUserManagementService, System.ServiceModel.IClientChannel {
|
---|
463 | }
|
---|
464 |
|
---|
465 | [System.Diagnostics.DebuggerStepThroughAttribute()]
|
---|
466 | [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
---|
467 | public partial class UserManagementServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.UserManagement.IUserManagementService>, HeuristicLab.Clients.UserManagement.IUserManagementService {
|
---|
468 |
|
---|
469 | public UserManagementServiceClient() {
|
---|
470 | }
|
---|
471 |
|
---|
472 | public UserManagementServiceClient(string endpointConfigurationName) :
|
---|
473 | base(endpointConfigurationName) {
|
---|
474 | }
|
---|
475 |
|
---|
476 | public UserManagementServiceClient(string endpointConfigurationName, string remoteAddress) :
|
---|
477 | base(endpointConfigurationName, remoteAddress) {
|
---|
478 | }
|
---|
479 |
|
---|
480 | public UserManagementServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
481 | base(endpointConfigurationName, remoteAddress) {
|
---|
482 | }
|
---|
483 |
|
---|
484 | public UserManagementServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
---|
485 | base(binding, remoteAddress) {
|
---|
486 | }
|
---|
487 |
|
---|
488 | public System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.User> GetUsers(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
489 | return base.Channel.GetUsers(application);
|
---|
490 | }
|
---|
491 |
|
---|
492 | public HeuristicLab.Clients.UserManagement.User AddUser(HeuristicLab.Clients.UserManagement.User user) {
|
---|
493 | return base.Channel.AddUser(user);
|
---|
494 | }
|
---|
495 |
|
---|
496 | public void DeleteUser(HeuristicLab.Clients.UserManagement.User user) {
|
---|
497 | base.Channel.DeleteUser(user);
|
---|
498 | }
|
---|
499 |
|
---|
500 | public void UpdateUser(HeuristicLab.Clients.UserManagement.User user) {
|
---|
501 | base.Channel.UpdateUser(user);
|
---|
502 | }
|
---|
503 |
|
---|
504 | public void AddUserToRole(HeuristicLab.Clients.UserManagement.Role role, HeuristicLab.Clients.UserManagement.User user) {
|
---|
505 | base.Channel.AddUserToRole(role, user);
|
---|
506 | }
|
---|
507 |
|
---|
508 | public void RemoveUserFromRole(HeuristicLab.Clients.UserManagement.Role role, HeuristicLab.Clients.UserManagement.User user) {
|
---|
509 | base.Channel.RemoveUserFromRole(role, user);
|
---|
510 | }
|
---|
511 |
|
---|
512 | public bool IsUserInRole(HeuristicLab.Clients.UserManagement.User user, HeuristicLab.Clients.UserManagement.Role role) {
|
---|
513 | return base.Channel.IsUserInRole(user, role);
|
---|
514 | }
|
---|
515 |
|
---|
516 | public HeuristicLab.Clients.UserManagement.User ResetPassword(string applicationName, string userName, string password) {
|
---|
517 | return base.Channel.ResetPassword(applicationName, userName, password);
|
---|
518 | }
|
---|
519 |
|
---|
520 | public System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Role> GetRoles(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
521 | return base.Channel.GetRoles(application);
|
---|
522 | }
|
---|
523 |
|
---|
524 | public HeuristicLab.Clients.UserManagement.Role AddRole(HeuristicLab.Clients.UserManagement.Role role) {
|
---|
525 | return base.Channel.AddRole(role);
|
---|
526 | }
|
---|
527 |
|
---|
528 | public void UpdateRole(HeuristicLab.Clients.UserManagement.Role role) {
|
---|
529 | base.Channel.UpdateRole(role);
|
---|
530 | }
|
---|
531 |
|
---|
532 | public void DeleteRole(HeuristicLab.Clients.UserManagement.Role role) {
|
---|
533 | base.Channel.DeleteRole(role);
|
---|
534 | }
|
---|
535 |
|
---|
536 | public System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Role> GetUserRoles(HeuristicLab.Clients.UserManagement.User user) {
|
---|
537 | return base.Channel.GetUserRoles(user);
|
---|
538 | }
|
---|
539 |
|
---|
540 | public System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.Application> GetApplications() {
|
---|
541 | return base.Channel.GetApplications();
|
---|
542 | }
|
---|
543 |
|
---|
544 | public System.Collections.Generic.List<HeuristicLab.Clients.UserManagement.User> GetApplicationUsers(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
545 | return base.Channel.GetApplicationUsers(application);
|
---|
546 | }
|
---|
547 |
|
---|
548 | public HeuristicLab.Clients.UserManagement.Application AddApplication(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
549 | return base.Channel.AddApplication(application);
|
---|
550 | }
|
---|
551 |
|
---|
552 | public void UpdateApplication(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
553 | base.Channel.UpdateApplication(application);
|
---|
554 | }
|
---|
555 |
|
---|
556 | public void DeleteApplication(HeuristicLab.Clients.UserManagement.Application application) {
|
---|
557 | base.Channel.DeleteApplication(application);
|
---|
558 | }
|
---|
559 |
|
---|
560 | public bool CheckUserExists(string application, string userName, string password) {
|
---|
561 | return base.Channel.CheckUserExists(application, userName, password);
|
---|
562 | }
|
---|
563 |
|
---|
564 | public bool GetUser(string application, string userName, string password) {
|
---|
565 | return base.Channel.GetUser(application, userName, password);
|
---|
566 | }
|
---|
567 | }
|
---|
568 | }
|
---|