/// <summary> /// Create a new user. /// </summary> /// <param name="profile">The user's profile</param> /// <param name="password">The user's password.</param> /// <returns></returns> public Task Create(UserProfileInfo profile, string password) => _api.Create(new CreateUser() { Profile = profile, Credentials = new UserCredentialsInfo { Password = password } });
/// <summary> /// Updates the profile information of an already existing user. /// </summary> public Task Update(UserProfileInfo profile) => _api.UpdateProfile(_userId, profile);