I run a site that allows people access to certain pages if they are a member of the site, however, membership is based on an annual subscription which resets at the beginning of each year. This means I am required to clear all members.
Is there a way of deleting all site members in one go, or do I have to delete them one by one.
@lachymcn so I don’t know if you can. (And anyway you don’t want to delete all the members including yourself. Right?)
If you have an additional collection where you store the members, then you can empty it by code, but I don’t think you can do it to the built-in PrivateMembersData collection.