Replaced xmldb:get-group() (as it is deprecated), with
security:get-group().