Exemplo n.º 1
0
        /// <summary>
        /// Set password for superuser account
        /// </summary>
        /// <param name="password">if null or empty then random password will be generated</param>
        public void SetSuperuserPassword(string password)
        {
            if (string.IsNullOrEmpty(password))
            {
                password = Helper.GetRandomString(8);
            }

            _server.setSuperuserPassword(password);
        }