LogoutSchedules

The LogoutSchedules table stores the configuration of scheduled logouts. This table contains all active and historical logout schedules created by administrators, including one-time, daily, and weekly schedules.

Columns

Column NameColumn TypeDescription
DateStringThe date on which the schedule was created or updated. This is the partitioning column.
IdStringA unique identifier for the logout schedule.
GroupNameStringThe name of the user or group associated with this schedule.
UpdateTimeDateTimeThe timestamp when the schedule was last created or modified.
ScheduleStringThe schedule type. Possible values are Once, Daily, or Weekly.
ScheduleDateStringFor Once schedules, the specific date when the logout should occur. Not meaningful for recurring schedules.
TimeStringThe time of day when the logout should occur, in HH:mm format.
TimezoneStringThe timezone for the scheduled time.
DaysbyteFor Weekly schedules, a bit field byte indicating which days the schedule is active. See Days bit field below.
ImmediatebooleanWhether the logout is immediate (true) or scheduled (false).
KickbooleanWhether the user is forcibly disconnected (true) or given a warning with the option to ignore (false).
EventStringThe event type for this record. Values include created, updated, or deleted.
MessageStringThe message displayed to users after they are logged out.

Schedule types

The Schedule column contains one of the following values:

ScheduleDescription
OnceA one-time logout that occurs at a specific date and time.
DailyA recurring logout that occurs at the same time every day.
WeeklyA recurring logout that occurs at the same time on specific days of the week.

Days bit field

For Weekly schedules, the Days column contains a bit field byte where each bit represents a day of the week:

Bit PositionValueDay
01Sunday
12Monday
24Tuesday
38Wednesday
416Thursday
532Friday
664Saturday

Multiple days are represented by summing the corresponding values. For example:

  • 62 = Every weekday (2 + 4 + 8 + 16 + 32)
  • 127 = Every day (1 + 2 + 4 + 8 + 16 + 32 + 64)

Event types

EventDescription
createA logout schedule was created.
updateA logout schedule was updated.
deleteA logout schedule was deleted.