Example: how to check whether the currentUser is member of a group:
select memberof((select jira from aux.currentuser), 'jira-core-users') as "memberOf" from dual