mgd_is_event_owner

(Midgard 1.4.2 'Bifrost')

mgd_is_event_owner -- Check event ownership

Description

int mgd_is_event_owner (int event)

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

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