AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IUserGroupManager.CreateGroup Method

Creates a new user group.

int CreateGroup(
string name,
string description,
int adminFolderID,
int[] memberUserIDs,
int[] memberGroupIDs
);

#### Parameters

name
  The name for the new group.
description
  The description for the new group.
adminFolderID
  The admin folder ID to create the group in; cannot be negative.
memberUserIDs
  An array of user IDs to include as members.
memberGroupIDs
  An array of group IDs to include as subgroups.

#### Return Value

The ID of the newly created user group.

#### Remarks

Note: Any invalid user or group IDs will be silently ignored.

#### Exceptions

Exception Type | Condition
--- | ---
PortalException | The operation resulted in an error on the portal.

#### See Also

IUserGroupManager Interface | Plumtree.Remote.PRC Namespace