mgd_is_host_owner

Name

mgd_is_host_owner -- Check host ownership

Synopsis

int mgd_is_host_owner(int host);

Description

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

Returns true if the user is an owner of the given host. Returns false if the user is not an owner.