Changes

Jump to navigation Jump to search
110 bytes removed ,  18:36, 2 August 2016
no edit summary
User names must follow the [[Valid Names|valid names constraints]], and the database patterns must follow the [[Commands#Glob_Syntax|Glob Syntax]].
==CommandsOperations==
Admin For all operations, admin permissions are required to execute all of the following commands=Commands=
'''Create user 'test' (password will be entered on command line). By default, the user will have no permissions ('none'):
<code>&gt; SHOW USERS</code>
'''Show detailed information about user 'test' via XQuery:'''
<code>&gt; XQUERY user:list-details()[@name = 'test']</code>=XQuery==
'''Drop of Create user 'test' via XQuerywith no permissions:'''
<code>&gt; XQUERY userdb:dropcreate('test', 'top-secret')</code>
==XQuery=='''Show detailed information about user 'test':'''
The <code>&gt; XQUERY user:list-details()[[User Module]] allows you to organize users via @name = 'test''XQuery'''. An example:]</code>
'''Create Drop user 'test' with no permissions:'''
<code>db&gt; XQUERY user:createdrop('test', 'top-secret')</code>
=Changelog=
Revised in Version 8.0.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu