Table
SysUserLog
User log
Log of user sessions. Each row records a logon or a password change, with the computer, client type, build number, session ID and logoff time. It is keyed by creation time, user ID and system record ID, and links to the user table.
- Table name
SysUserLog- Module
System administration- Table group
Main- Table type
Regular- Data per company
No- Configuration key
SysUserLog- Primary index
UserCreateIdx- Replacement key
None- Key fields
createdDateTime, UserId, RecId- Model
ApplicationPlatform
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
UserIdUser the log entry belongs to, linked to the user record. | StringUserId | Yes | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
AlivePurpose not clear from the metadata.low confidence | Integer | No | None | |
BuildNumBuild number of the application at the time of the session. | StringBuildNum | No | None | |
ClientTypeType of client the user used. | EnumClientType (enum) | No | None | |
ComputernameName of the computer the user used. | String (30)ComputerName | No | None | |
LogoutDateTimeDate and time the user logged off. | UtcDateTimeTransDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RolesWithAccessToSensitiveDataRoles that gave the user access to sensitive data when logging on. | String (-1)RoleListSensitiveData | No | None | |
SessionIdIdentifier of the user session. | IntegerSessionId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TerminatedOkShows whether the session was closed normally. | EnumNoYesIdNoYes (enum) | No | None | |
TypeKind of event logged: a logon or a password change. | EnumSysLogType (enum) | No | None |
Indexes (5)
UserIdxNot unique.
UserCreateIdxPrimary indexcreatedDateTime,UserId,RecIdUnique.
DateTypeIdxcreatedDateTime,Type,ClientTypeNot unique.
TypeUserDateIdxNot unique.
UserIdAliveIdxNot unique.
Relations (1)
Each relation joins SysUserLog to another table on the fields shown.
UserInfo→UserInfoJoin on
UserId = UserInfo.idMany SysUserLog records → exactly one UserInfo record
Get this data out
No public entity reads from SysUserLog. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysUserLog in a report, an integration or a migration? Talk to Dr Dynamics.