createGroup( )


Creates a group.

The createGroup() function returns a Promise that resolves to a newly-created group after it has successfully been created. The new group is added to the Groups List page of your site.

Site admins can choose to allow site members to create a group. They can also require that site members request their approval when creating a group. This setting can be found in your site's Dashboard under Groups Application > General Settings > Group Creation. If set to admin approval required, a site member uses this function to create a group, and the group becomes a createRequest with a status of PENDING until the group is reviewed. The default is set to site members with admin approval.

Method Declaration
Copy
Method Parameters
groupGroupRequired

Group to create.


optionsCreateGroupOptions

Optional fields for group creation.

Returns
Return Type:Promise<Group>
Was this helpful?
Yes
No