mgd_update_sitegroup

(Midgard 1.4.2 'Bifrost')

mgd_update_sitegroup -- Update a sitegroup

Description

bool mgd_update_sitegroup (int id, string name, int admingroup)

Minimum version: Midgard 1.4 (Bifrost)

Update the sitegroup record with id id with the provided parameters. This function requires you to be root. The name must not be in use by another sitegroup, and the admingroup must allready be part of the sitegroup.

Returns TRUE if successful. Returns FALSE on failure.