Ejemplo n.º 1
0
        static bool deleteUser(string url, Credentials c, string userId)
        {
            Console.WriteLine("Deleting user...");

            ArticulateOnline ao = new ArticulateOnline();
            ao.Url = url;
            DeleteUserRequest request = new DeleteUserRequest();
            request.Credentials = c;
            request.UserID = userId;
            return ao.DeleteUser(request).Success;
        }
Ejemplo n.º 2
0
 /// <remarks/>
 public void DeleteUserAsync(DeleteUserRequest DeleteUserRequest, object userState) {
     if ((this.DeleteUserOperationCompleted == null)) {
         this.DeleteUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteUserOperationCompleted);
     }
     this.InvokeAsync("DeleteUser", new object[] {
                 DeleteUserRequest}, this.DeleteUserOperationCompleted, userState);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void DeleteUserAsync(DeleteUserRequest DeleteUserRequest) {
     this.DeleteUserAsync(DeleteUserRequest, null);
 }