コード例 #1
0
        /// <summary>
        /// Delete user
        /// </summary>
        /// <param name="userName"></param>

        public static bool DeleteUser(
            string userName)
        {
            try { RevokePrivilege(userName, "Logon"); }
            catch (Exception ex) { }

            return(UserObjectDao.DeleteAllUserObjects(userName));
        }