Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IRole.RemoveMember Method

Removes a member from a role.

void RemoveMember(
int memberID,
MemberTypes memberType
);

#### Parameters

memberID
  Id of member to be removed to role, can be a portal user, or a portal user group; must be positive
memberType
  Member type of member to be removed; cannot be `null`

#### Remarks

Note that removing a nonexistent member id will get ignored.

#### Exceptions

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

#### See Also

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