Skip to content

Show Connections

Shows the connections.

Permissions

Command KindNeeded User Kind
ReadAdmin, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
DatabasestringName of the database ([Database]).no
FindstringValue to search for in username, UDI, database name, last datetime, client agent, client ip, server host and server port.no
MaxRecordsintegerMaximum number of records to be returned. The default value is 500000.no500000

Result

NameTypeDescription
UserstringName of the connected user.
UidstringUnique ID, to identify the connection which is used for subsequent commands.
DatabasestringName of the connected database.
LaststringLast contact with the connection.
ClientUserAgentHashstringHash of the client user agent.
ClientIpHashstringHash of the client IP address.
ServerHoststringIp address of the server.
ServerPortintegerPort of the server.
Sysboolean'True' if user is 'Sys'.
SysTechboolean'True' if user is 'SysTech'.
AdminbooleanIf 'True' the connected user has admin permissions.
DesignerbooleanIf 'True' the connected user has designer permissions.
ImportbooleanIf 'True' the connected user has the permission to import data ('Import Dimension', 'Import Table'...), independent of database permissions.
FixedbooleanIf 'True' the connected user cannot be changed ('Sys' or 'SysTech').

Code

text
SHOW CONNECTIONS
DATABASE=[string]
FIND=[string]
MAXRECORDS=[integer, default=500000]