Tabela _Client-Session

This table records a client authenticated session information. It stores information about the client session and the methods used to authenticate the client. Its primary purpose is to provide additional information for auditing for the purposes of non repudiation, i.e. to provide extra information as to exactly who the user was.\n\nThis table is part of a blank empty database as it has other uses beyond auditing. When used for auditing, the client session UUID will be used to associate the authenticated client session with the audit events.\n\nAn authenticated client session may not always be available when recording auditing events, e.g. in the case of an appserver connecting to a database outside of the context of an authenticated session.\n\nThe data in this table can be sealed with a Message Digest or MAC for non-repudiation.\n\nNote that the data in this table must be copied to the archive database as part of the archive process, but the contents will not be deleted as part of the same process as the client session information could be used for other purposes than auditing.\n
11campos

Campos da tabela _Client-Session

11 campos no dicionário de dados do TOTVS Datasul.

11
CampoDescrição
_User-id
varchar
This is the id of the authenticated user.\n
Máscara:
X(35)
_Session-custom-detail
varchar
User defined session information - free text, e.g. terminal id.\n
Máscara:
X(3000)
_Server-uuid
varchar
This is the unique id for the connected appserver, webspeed server, etc. to determine exactly which server was used in the case where multiple servers are in operation.\n
Máscara:
X(28)
_Db-guid
varchar
This is a globally unique identifier (GUID) for the database that this authenticated client session was for / originated in.\n
Rótulo:
Db guid
Máscara:
X(28)
_Data-seal
varchar
An internally generated seal on the data that guarantees the integrity of the data and ensures it has not been tampered with outside of the registered services permitted to maintain this data.\n\nThis could be a message digest or a MAC.\n\nThe use of the data seal is optional as it will guarantee non-repudiation of the data but will have a cost of additional storage space and a possible impact on performance to assign a value / check the results.\n
Máscara:
X(28)
_Authentication-date-time
timestamp_timezone
The authentication date and time.\n
Rótulo:
Auth. date/time
Máscara:
99/99/9999 HH:MM:SS.SSS+HH:MM
_Authentication-domain-name
varchar
The application alias or logical name depending on the domain type or authentication plug-in being used, e.g. for LDAP it would be an LDAP domain such as App1LDAP.\n
Rótulo:
Auth. domain name
Máscara:
X(70)
_Authentication-domain-type
varchar
The type of authentication plug-in used, e.g. LDAP.\n
Rótulo:
Auth. domain type
Máscara:
X(35)
_Client-name
varchar
This is the name of the type of client session, e.g.\n\nAS - Appserver\n\nWS - WebSpeed\n\n4GL - 4GL Client\n\nSQL - SQL Client\n\nDBA - Database Admin Tools\n
Máscara:
X(35)
_Client-session-uuid
varchar
This is a unique id for the client login session and when auditing is used to tie together all the audit data for a specific session.\n
Máscara:
X(28)
_Audit-data-security-level
integer
This field is copied from the _Audit-data-security-level field on the _aud-audit-policy and records the data security level used for this record.\n\nThe value of this field determines what type of data-integrity information is written to the _Data-seal field at record creation time.
Máscara:
->9
Valor padrão:
0

SELECT de exemplo da tabela _Client-Session

Datasul roda em Progress/OpenEdge: via SQL, as tabelas ficam no schema PUB e nomes com hífen vão entre aspas.

SQL · OpenEdge
SELECT TOP 100
  t1."_User-id",
  t1."_Session-custom-detail",
  t1."_Server-uuid",
  t1."_Db-guid",
  t1."_Data-seal",
  t1."_Authentication-date-time",
  t1."_Authentication-domain-name",
  t1."_Authentication-domain-type"
FROM PUB."_Client-Session" t1

Tabelas próximas no índice do Datasul

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.