/// <remarks/> public void SetUserPasswordAsync(SetUserPasswordRequest SetUserPasswordRequest) { this.SetUserPasswordAsync(SetUserPasswordRequest, null); }
/// <remarks/> public void SetUserPasswordAsync(SetUserPasswordRequest SetUserPasswordRequest, object userState) { if ((this.SetUserPasswordOperationCompleted == null)) { this.SetUserPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetUserPasswordOperationCompleted); } this.InvokeAsync("SetUserPassword", new object[] { SetUserPasswordRequest}, this.SetUserPasswordOperationCompleted, userState); }
static bool setUserPassword(string url, Credentials c, string userId, string password) { Console.WriteLine("Set user password..."); ArticulateOnline ao = new ArticulateOnline(); ao.Url = url; SetUserPasswordRequest request = new SetUserPasswordRequest(); request.Credentials = c; request.UserID = userId; request.Password = password; return ao.SetUserPassword(request).Success; }