XQuery Function Documentation

http://exist-db.org/xquery/securitymanager

java:org.exist.xquery.functions.securitymanager.SecurityManagerModule

Module for interacting with the Security Manager

sm:chgrp#2

sm:chgrp($path as xs:anyURI, $group-name as xs:string) as empty-sequence()

Changes the group owner of a resource or collection.

Parameters:
$pathThe path to the resource or collection whose group owner you wish to set
$group-nameThe name of the user group owner to set on the resource or collection e.g. 'guest'
Returns:
empty-sequence()