Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bas Schouten 135 posts 233 karma points
    May 10, 2011 @ 10:28
    Bas Schouten
    0

    Remove all members

    Hi All,

    I'm looking for a easy way to delete all members. I have to import a new excell sheet. Non existing members in that list have to be removed.

    Cheers,

    Bas

  • david 46 posts 81 karma points
    May 10, 2011 @ 12:31
    david
    0

    put this in a user control...

                IEnumerable<Member> AverageJoes = Member.GetAllAsList();

                foreach (Member Joe in AverageJoes)

                {

                    Joe.delete();

                }

Please Sign in or register to post replies

Write your reply to:

Draft