Manage Community Member Programmatically
Add Community Member Salesforce stores community membership in object called NetworkMemberGroup. Although Salesforce says ‘create’ allowed on Network Member but seems that not allowed using apex code. No worries, we can make a post REST call for the same: First add your salesforce base url as remote site setting then add this code as part …