==user:list==
{{Mark|Updated with Version 8.5}}: If called by non-admins, will only return the current user.
{| width='100%'
==user:list-details==
{{Mark|Updated with Version 8.5}}: If called by non-admins, will only return the current user.
{| width='100%'
let $user := 'john', $pw := '8hKJ@%.c/!0O', $group := 'editor'
return (
dbuser:create($user, $pw),
user:update-info(user:info() update
insert node <user name='{ $user }' group='{ $group }'/> into .