public void ReadUser(int roleid, int orgId) { UserServiceAgent usa = new UserServiceAgent(); usa.ReadUser(roleid, orgId, ReadUserCompleted); //ReadUserNamesFromEwav(); }
public override Product Create(string description) { Target userServiceAgent = new UserServiceAgent("User Agent"); userServiceAgent.Link = "URL to Shipping Service"; Target emailClient = new EmailClient("Email"); emailClient.Link = "URL to Royalty Department Service"; Product membership = new Membership(description); membership.Outputs = new List <Output>(); membership.Outputs.Add(new PackingSlip("Membership Change", membership, userServiceAgent)); membership.Outputs.Add(new PackingSlip("Membership Change", membership, emailClient)); return(membership); }
/// <summary> /// Loads the user from activedirectory. /// </summary> /// <param name="EmailAddress">The email address.</param> public void LoadUserFromActivedirectory(string EmailAddress) { UserServiceAgent usa = new UserServiceAgent(); usa.LoadUserFromActivedirectory(EmailAddress, UserFromADLoadedComplete); }
/// <summary> /// Loads the user. /// </summary> /// <param name="userDto">The user dto.</param> public void LoadUser(string UserName) { UserServiceAgent usa = new UserServiceAgent(); usa.LoadUser(UserName, UserLoadedComplete); }
public void ReadUserByUserName(string UserName, int OrganizationId) { UserServiceAgent usa = new UserServiceAgent(); usa.ReadUserByUserName(UserName, OrganizationId, ReadUserByNameCompleted); }
public void ReadUserNamesFromEwav() { UserServiceAgent usa = new UserServiceAgent(); usa.ReadUserNamesFromEwav(ReadUserNamesFromEwavCompleted); }
public void ReadAssociatedDatasources(int UserId, int OrganizationId) { UserServiceAgent usa = new UserServiceAgent(); usa.ReadAssociatedDatasources(UserId, OrganizationId, ReadAssociatedDatasourcesCompleted); }
public void AddUser(UserOrganizationDto dto) { UserServiceAgent usa = new UserServiceAgent(); usa.AddUser(dto, AddUserCompleted); }
public void UpdateUser(UserOrganizationDto dto) { UserServiceAgent usa = new UserServiceAgent(); usa.UpdateUser(dto, UpdateUserCompleted); }
/// <summary> /// Authenticates the specified user dto. /// </summary> /// <param name="userDto">The user dto.</param> public void Authenticate(UserDTO userDto) { UserServiceAgent usa = new UserServiceAgent(); usa.GetUserForAuthentication(userDto, UserAuthenticatedComplete); }
/// <summary> /// Forgot password /// </summary> /// <param name="email"></param> public void ForgotPassword(string email) { UserServiceAgent usa = new UserServiceAgent(); usa.ForgotPassword(email, ForgotPasswordCompleted); }
public void ReadPasswordRules() { UserServiceAgent usa = new UserServiceAgent(); usa.ReadPasswordRules(PasswordRulesReadCompleted); }
// TODO: Add properties using the mvvmprop code snippet #endregion #region Methods public void DeleteUser(int userid) { UserServiceAgent usa = new UserServiceAgent(); usa.DeleteUser(userid, DeleteUserCompleted); }
/// <summary> /// Reads all orgs for user. /// </summary> /// <param name="userID">The user ID.</param> public void ReadAllOrgsForUser(int userID) { UserServiceAgent usa = new UserServiceAgent(); usa.ReadAllOrgsForUser(userID, ReadAllOrgsForUserCompleted); }