title: How do I programmatically set a user as spam in BuddyPress?
body: <p>I am working on a (WordPress) moderation tool. One of the actions I want my moderators to be able to achieve is setting a user account as spam. I know how to do so via the UI as admin but how do I do the same via code?</p>
  
  <p>A pointer to the right documentation would be enough I'm just struggling with this a bit and Google is (unusually) failing me.</p>