示例#1
0
        protected void RestartSystem_register_load()
        {
            //delete all users:
            List <int> allUsers = UserBridge.GetAllUsers();

            Users.ForEach(u =>
            {
                if (!allUsers.Contains(u))
                {
                    UserBridge.DeleteUser(u);
                }
            });
        }