- Timestamp:
- 03/13/12 17:28:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ServiceClients/AccessServiceClient.cs
r7611 r7612 11 11 namespace HeuristicLab.Clients.Access { 12 12 13 14 [System.Diagnostics.DebuggerStepThroughAttribute()]15 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]16 [System.Runtime.Serialization.DataContractAttribute(Name = "UserGroupBase", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" +17 "")]18 [System.SerializableAttribute()]19 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))]20 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))]21 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))]22 public partial class UserGroupBase : HeuristicLab.Clients.Access.AccessItem {23 24 [System.Runtime.Serialization.OptionalFieldAttribute()]25 private System.Guid IdField;26 27 [System.Runtime.Serialization.DataMemberAttribute()]28 public System.Guid Id {29 get {30 return this.IdField;31 }32 set {33 if ((this.IdField.Equals(value) != true)) {34 this.IdField = value;35 this.RaisePropertyChanged("Id");36 }37 }38 }39 }40 13 41 14 [System.Diagnostics.DebuggerStepThroughAttribute()] … … 73 46 74 47 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 48 49 75 50 } 76 51 … … 680 655 this.TimestampField = value; 681 656 this.RaisePropertyChanged("Timestamp"); 657 } 658 } 659 } 660 } 661 662 [System.Diagnostics.DebuggerStepThroughAttribute()] 663 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")] 664 [System.Runtime.Serialization.DataContractAttribute(Name = "UserGroupBase", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Access.DataTransfer" + 665 "")] 666 [System.SerializableAttribute()] 667 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.UserGroup))] 668 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.User))] 669 [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Access.LightweightUser))] 670 public partial class UserGroupBase : HeuristicLab.Clients.Access.AccessItem { 671 672 [System.Runtime.Serialization.OptionalFieldAttribute()] 673 private System.Guid IdField; 674 675 [System.Runtime.Serialization.DataMemberAttribute()] 676 public System.Guid Id { 677 get { 678 return this.IdField; 679 } 680 set { 681 if ((this.IdField.Equals(value) != true)) { 682 this.IdField = value; 683 this.RaisePropertyChanged("Id"); 682 684 } 683 685 } … … 1059 1061 public interface IAccessService { 1060 1062 1063 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroup", ReplyAction = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroupResponse")] 1064 void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1065 1061 1066 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetUsersAndGroups", ReplyAction = "http://tempuri.org/IAccessService/GetUsersAndGroupsResponse")] 1062 1067 System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups(); … … 1200 1205 void RemoveUserFromRole(HeuristicLab.Clients.Access.Role role, HeuristicLab.Clients.Access.User user); 1201 1206 1207 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/ChangePassword", ReplyAction = "http://tempuri.org/IAccessService/ChangePasswordResponse")] 1208 bool ChangePassword(System.Guid userId, string oldPassword, string newPassword); 1209 1202 1210 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/ResetPassword", ReplyAction = "http://tempuri.org/IAccessService/ResetPasswordResponse")] 1203 bool ResetPassword(System.Guid userId, string oldPassword, string newPassword);1211 string ResetPassword(System.Guid userId); 1204 1212 1205 1213 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/GetAllUserGroups", ReplyAction = "http://tempuri.org/IAccessService/GetAllUserGroupsResponse")] … … 1223 1231 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/AddUserGroupBaseToGroup", ReplyAction = "http://tempuri.org/IAccessService/AddUserGroupBaseToGroupResponse")] 1224 1232 void AddUserGroupBaseToGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group); 1225 1226 [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroup", ReplyAction = "http://tempuri.org/IAccessService/RemoveUserGroupBaseFromGroupResponse")]1227 void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group);1228 1233 } 1229 1234 … … 1255 1260 } 1256 1261 1262 public void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) { 1263 base.Channel.RemoveUserGroupBaseFromGroup(resource, group); 1264 } 1265 1257 1266 public System.Collections.Generic.List<HeuristicLab.Clients.Access.UserGroupBase> GetUsersAndGroups() { 1258 1267 return base.Channel.GetUsersAndGroups(); … … 1443 1452 } 1444 1453 1445 public bool ResetPassword(System.Guid userId, string oldPassword, string newPassword) { 1446 return base.Channel.ResetPassword(userId, oldPassword, newPassword); 1454 public bool ChangePassword(System.Guid userId, string oldPassword, string newPassword) { 1455 return base.Channel.ChangePassword(userId, oldPassword, newPassword); 1456 } 1457 1458 public string ResetPassword(System.Guid userId) { 1459 return base.Channel.ResetPassword(userId); 1447 1460 } 1448 1461 … … 1474 1487 base.Channel.AddUserGroupBaseToGroup(resource, group); 1475 1488 } 1476 1477 public void RemoveUserGroupBaseFromGroup(HeuristicLab.Clients.Access.UserGroupBase resource, HeuristicLab.Clients.Access.UserGroup group) {1478 base.Channel.RemoveUserGroupBaseFromGroup(resource, group);1479 }1480 1489 } 1481 1490 }
Note: See TracChangeset
for help on using the changeset viewer.