Difference between revisions of "Admin Module"

From BaseX Documentation
Jump to navigation Jump to search
(Created page with "This XQuery Module contains functions for performing operations that are restricted to users with |Admin Permissions. Existing users can be...")
 
Line 1: Line 1:
This [[Module Library|XQuery Module]] contains functions for performing operations that are restricted to users with [[User Management||Admin Permissions]]. Existing users can be listed, and soon more.
+
This [[Module Library|XQuery Module]] contains functions for performing operations that are restricted to users with [[User Management|Admin Permissions]]. Existing users can be listed, and soon more.
  
 
=Conventions=
 
=Conventions=

Revision as of 16:38, 23 August 2012

This XQuery Module contains functions for performing operations that are restricted to users with Admin Permissions. Existing users can be listed, and soon more.

Conventions

All functions in this module are assigned to the http://basex.org/modules/admin namespace, which is statically bound to the admin prefix.
All errors are assigned to the http://basex.org/errors namespace, which is statically bound to the bxerr prefix.

Functions

admin:users

Signatures admin:users() as element(user)*
admin:users($db as item()) as element(user)*
Summary Returns an element sequence, containing all registered users along with their access permissions.
If a database node $db is specified, users registered for a particular database will be returned.
Examples
  • admin:users("factbook") returns all users that have particularly registered for the specified database.