Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IRole.RemoveCommunityMember Method

Removes a community member from a role.

void RemoveCommunityMember(
int communityID,
CommunityMemberTypes memberType
);

#### Parameters

communityID
  Community id of the member to be removed belongs; must be positive
memberType
  Member type of the user in the community; cannot be `null`

#### Remarks

Note that removing a nonexistent member id will get ignored.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | Community ID is not positive

#### See Also

IRole Interface | Plumtree.Remote.PRC.Collaboration.Security Namespace