public void GetOrgUsers() { Epi.Web.Common.Message.UserRequest Request = new Epi.Web.Common.Message.UserRequest(); try { SurveyManagerServiceV4.ManagerServiceV4Client client = ServiceClient.GetClientV4(); Request.Organization.OrganizationKey = this.EditOtextBox1.Text.ToString(); var Result = client.GetUserListByOrganization(Request); UserlistBox.Items.Clear(); if (Result.Message != null) { richTextBox1.AppendText(Result.Message.ToString()); } if (Result.User != null) { for (int i = 0; i < Result.User.Count; i++) { this.UserlistBox.Items.Add(Result.User[i].FirstName + " " + Result.User[i].LastName + "___" + Result.User[i].UserId); } this.UserlistBox.SelectedIndex = 0; } } catch (Exception ex) { richTextBox1.AppendText("Error occurred while getting Organization users. "); } }
public Epi.Web.Common.Message.UserResponse GetUserByUserId(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetUserByUserId(UserInfo)); }
public System.Threading.Tasks.Task <Epi.Web.Common.Message.UserResponse> GetUserByUserIdAsync(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetUserByUserIdAsync(UserInfo)); }
public bool UpdateUserInfo(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.UpdateUserInfo(UserInfo)); }
public System.Threading.Tasks.Task <bool> UpdateUserInfoAsync(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.UpdateUserInfoAsync(UserInfo)); }
public bool DeleteUser(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.DeleteUser(UserInfo)); }
public Epi.Web.Common.Message.UserResponse GetUserListByOrganization(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetUserListByOrganization(UserInfo)); }
public System.Threading.Tasks.Task <bool> GetExistingUserAsync(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetExistingUserAsync(UserInfo)); }
public bool GetExistingUser(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetExistingUser(UserInfo)); }
public Epi.Web.Common.Message.UserResponse GetLoginToken(Epi.Web.Common.Message.UserRequest UserInfo) { return(base.Channel.GetLoginToken(UserInfo)); }