Changes

Jump to navigation Jump to search
153 bytes removed ,  12:54, 8 July 2020
no edit summary
|
* After a fresh installation, {{Code|user:list-details()}} returns output similar to the following one:
<pre classsyntaxhighlight lang="brush:xml">
<user name="admin" permission="admin">
<password algorithm="digest">
</password>
</user>
</presyntaxhighlight>
|-
| '''Errors'''
==user:info==
 
{{Mark|Updated with Version 9.3:}} {{Code|$name}} parameter added.
{| width='100%'
==user:create==
 
{{Mark|Updated with Version 9.3:}} {{Code|$info}} parameter added.
{| width='100%'
==user:update-info==
 
{{Mark|Updated with Version 9.3:}} {{Code|$name}} parameter added.
{| width='100%'
|
* Store initial groups information:
<pre classsyntaxhighlight lang="brush:xquery">
user:update-info(element info {
for $group in ('editor', 'author', 'writer')
return element group { $group }
})
</presyntaxhighlight>
* Add a group to a specific user:
<pre classsyntaxhighlight lang="brush:xquery">
user:update-info(<info group='editor'/>, 'john')
</presyntaxhighlight>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu