Changes

Jump to navigation Jump to search
72 bytes removed ,  18:39, 1 December 2023
m
Text replacement - "syntaxhighlight" to "pre"
|
* After a fresh installation, {{Code|user:list-details()}} returns output similar to the following one:
<syntaxhighlight pre lang="xml">
<user name="admin" permission="admin">
<password algorithm="digest">
</password>
</user>
</syntaxhighlightpre>
|- valign="top"
| '''Errors'''
|
* Store initial groups information:
<syntaxhighlight pre lang="'xquery"'>
user:update-info(element info {
for $group in ('editor', 'author', 'writer')
return element group { $group }
})
</syntaxhighlightpre>
* Add a group to a specific user:
<syntaxhighlight pre lang="'xquery"'>
user:update-info(<info group='editor'/>, 'john')
</syntaxhighlightpre>
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu