mgd_update_sitegroup

Name

mgd_update_sitegroup -- Update a sitegroup

Synopsis

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

Description

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 successfull. Returns false on failure.