AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IRole.RemoveMember Method

Removes a member from a role.

void RemoveMember(
int memberID,
MemberTypes memberType
);

#### Parameters

memberID
  The ID of the member to be removed from the role; can be a portal user, or a portal user group. Must be positive.
memberType
  The type of member to be removed; cannot be `null`.

#### Remarks

Note: Removing a nonexistent member id will be ignored.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentException | The member ID is not positive.

#### See Also

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