private static bool ChangeUserPassword(string authToken, string uniqueIdentifier,
            string newPassword)
        {
            if (!String.IsNullOrEmpty(newPassword))
            {
                var service = new UserManagementServiceClient();
                var result = service.ChangeUserPassword(authToken, uniqueIdentifier, newPassword);
                if (result.CallSuccess) return true;
                Console.WriteLine(result.FailureMessage);
                return false;
            }
            else
            {
                Console.WriteLine("Password null or empty");
                return false;

            }
        }
        /// <summary>
        /// Set a user's password.
        /// </summary>
        /// <param name="authenticationToken">Encrypted forms auth token identifying the requesting user.</param>
        /// <param name="uniqueIdentifier">The unique identifier of the user to update.</param>
        /// <param name="newPassword">The plain text new password.</param>
        private static bool ChangeUserPassword(string authenticationToken, string uniqueIdentifier, string newPassword)
        {
            /*
             * If you are unable to reference System.Service make sure that the project is configured to
             * use the full 4.0 framework and not the client profile.
             */
            var proxy = new UserManagementServiceClient();
            var result = proxy.ChangeUserPassword(authenticationToken, uniqueIdentifier, newPassword);

            // Handle exceptions
            if (!result.CallSuccess)
            {
                Console.WriteLine(result.FailureMessage);
                return false;
            }

            // The ChangeUserPassword method does not return ResultData. Return true if the operation completed successfully.
            return true;
        }