/// <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)); }