mgd_create_sitegroup

(Midgard 1.4.2 'Bifrost')

mgd_create_sitegroup -- Create a sitegroup record

Description

int mgd_create_sitegroup (string name)

Minimum version: Midgard 1.4 (Bifrost)

Creates a new sitegroup with name name. In order to create a new sitegroup you must be root, and no other sitegroup by the given name can exist. The admingroup of the new sitegroup will be the root group.

Returns the id of the created record if successful. Returns FALSE on failure.