Removes the currently logged-in member from the site community and sets their profile to private.
makeProfilePrivate()
returns a Promise that resolves to a member object
when the member's profile privacy is updated.
When a member's profile is private, they don't have access to the site's Members Area features, and their profile is hidden from other members and site visitors.
Notes:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.