| '''Examples'''
|
* {{Code|admin:users()}} returns <code><user permission="admin">admin</user><code> if no additional users have been created.
* {{Code|admin:users("factbook")}} returns all users that have particularly registered for the specified database.
|}
| '''Summary'''
|Returns an element sequence with all currently opened sessions, including the user name, address (IP:port) and an optionally opened database.<br/>The output of this function is similar to the [[Commands#SHOW_SESSIONS|SHOW SESSIONS]] command.
|-
| '''Examples'''
|
* {{Code|admin:sessions()}} may e.g. return <code><session user="admin" database="factbook">127.0.0.1:6286</session></code>
|}