Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IUserGroupManager.AddMemberUsers Method

Adds users to a group.

void AddMemberUsers(
int groupID,
int[] memberUserIDs
);

#### Parameters

groupID
  a group to add the users to
memberUserIDs
  an array of users to add to the group

#### Remarks

Any invalid memberUserIDs will be silently ignored. Passing a non-existent groupID will result in a PortalException. Note: As this method performs multiple operations, any exception thrown relating to these will have details of each failure.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | if the operation resulted in an error on the portal
ArgumentException | if passed an invalid group ID

#### See Also

IUserGroupManager Interface | Plumtree.Remote.PRC Namespace