public function serverGroupPermList($sgid, $permsid = false)
    {
        return $this->execute(
            "servergrouppermlist",
            array("sgid" => $sgid, $permsid ? "-permsid" : null)
        )->toAssocArray($permsid ? "permsid" : "permid");
    }
public function serverGroupPermList($sgid, $permsid = false)
    {
        return $this->execute(
            "servergrouppermlist",
            array("sgid" => $sgid, $permsid ? "-permsid" : null)
        )->toAssocArray($permsid ? "permsid" : "permid");
    }
Returns a list of permissions assigned to the server group specified.

@param  integer $sgid
@param  boolean $permsid
@return array