User Module

This XQuery Module contains functions for creating and administering database users. The User Management article gives more information on database users and permissions.

=Conventions=

All functions and errors in this module are assigned to the  namespace, which is statically bound to the user prefix.

=Read Operations=

user:info
$name parameter added.

=Updates=

Important note: All functions in this section are updating functions: they will not be immediately executed, but queued on the Pending Update List, which will be processed after the actual query has been evaluated. This means that the order in which the functions are specified in the query does usually not reflect the order in which the code will be evaluated.

user:create
$info parameter added.

user:update-info
$name parameter added.

=Errors=

=Changelog=


 * Version 8.6
 * Updated: user:create, user:info, user:update-info: $name parameter added.


 * Version 8.6
 * Added: user:check, user:info, user:update-info.
 * Updated: user:list, user:list-details: If called by non-admins, will only return the current user.


 * Version 8.4
 * Updated: user:create, user:grant, user:drop: extended support for database patterns.


 * Version 8.1
 * Added: user:current.

The Module was introduced with Version 8.0.