A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/xmldb
A module for database manipulation functions.

xmldb:create-user($user-id as xs:string, $password as xs:string, $groups as xs:string+, $home-collection-uri as xs:string?) empty()
Create a new user, $user-id, in the database. The XQuery owner must have appropriate privileges to do this, e.g. having DBA role. $user-id is the username, $password is the password, $groups is the sequence of group memberships. The first group in the sequence is the primary group.$home-collection-uri is the home collection URI.Collection URIs can be specified either as a simple collection path or an XMLDB URI.
$user-idThe user-id
$passwordThe password
$groupsThe group memberships
$home-collection-uriThe home collection URI
Return to list of all modules