Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IUserGroupManager.CreateGroup Method 

Creates a new user group.

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

Parameters

name
a group name
description
a group description
adminFolderID
an 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

an ID of a newly created user group

Remarks

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

Exceptions

Exception Type Condition
PortalException if the operation resulted in an error on the portal

See Also

IUserGroupManager Interface | Plumtree.Remote.PRC Namespace