|
* 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'''
return element group { $group }
})
</syntaxhighlightpre>
* Add a group to a specific user:
<pre lang='xquery'>
user:update-info(<info group='editor'/>, 'john')
</syntaxhighlightpre>
|}