mgd_is_snippetdir_owner

Name

mgd_is_snippetdir_owner -- Check snippetdir ownership

Synopsis

int mgd_is_snippetdir_owner(int snippetdir);

Description

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

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