Apache.AuthenticationManager.CreateUser C# (CSharp) Method

CreateUser() public static method

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