updateUser() public method

Update a piwik user
public updateUser ( string userLogin, string password = null, string email = null, string alias = null ) : Hashtable
userLogin string
password string
email string
alias string
return System.Collections.Hashtable
        private static void UpdateUser()
        {
            var usersManager = new UsersManager();
            usersManager.setTokenAuth("XYZ");

            var response = usersManager.updateUser("foobar", null, null, "Mr. Foo");

            if (!response["result"].Equals("success"))
            {
                Console.WriteLine("Error! " + response["message"]);
                return;
            }

            Console.WriteLine("User successfully updated.");
        }