Ejemplo n.º 1
0
 /// <remarks/>
 public void SetUserPasswordAsync(SetUserPasswordRequest SetUserPasswordRequest) {
     this.SetUserPasswordAsync(SetUserPasswordRequest, null);
 }
Ejemplo n.º 2
0
 /// <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);
 }
Ejemplo n.º 3
0
        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;
        }