xmldb:get-permissions($collection-uri as xs:string) xs:int?
Returns the permissions assigned to the collection $collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.
xmldb:get-permissions($collection-uri as xs:string, $resource as xs:string) xs:int?
Returns the permissions assigned to the resource $resource in collection $collection-uri. Collection URIs can be specified either as a simple collection path or an XMLDB URI.