mgd_is_host_owner

(Midgard 1.4.2 'Bifrost')

mgd_is_host_owner -- Check host ownership

Description

int mgd_is_host_owner (int host)

Check whether the authenticated user is an owner of the host with id host.

Returns TRUE if the user is member of the group that owns the given host. Returns FALSE otherwhise.