</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>
|}