Apache.AuthenticationManager.ChangePassword C# (CSharp) Method

ChangePassword() public static method

public static ChangePassword ( string user, string newPassword ) : bool
user string
newPassword string
return bool
        public static bool ChangePassword(string user, string newPassword)
        {
            string response = ExecuteWith(String.Format("-cb{0} {1} {2} {3}", (char)EncodeType.Sha1, Db, user, newPassword));
            return response.Contains("created."); ;
        }