GetSetting()

Retrieves the specified user setting.

Token ID

BFTKN_GET_SETTING or 1071

Syntax

ANY GetSetting(ENUM WhichSetting)

Parameters

WhichSetting

Enumerated Values:

1

WorkScheduleStart - returns DWORD. The start of the work day in minutes since midnight.

2

WorkScheduleEnd - returns DWORD. The end of the work day in minutes since midnight.

3

WorkDays - returns DWORD. A bit array describing the days of the week that a user is scheduled to be working. The least significant bit represents Sunday and the most significant bit represents Saturday.

4

WorkDaySunday - returns BOOL. TRUE if Sunday is a workday.

5

WorkDayMonday - returns BOOL. TRUE if Monday is a workday.

6

WorkDayTuesday - returns BOOL. TRUE if Tuesday is a workday.

7

WorkDayWednesday - returns BOOL. TRUE if Wednesday is a workday.

8

WorkDayThursday - returns BOOL. TRUE if Thursday is a workday.

9

WorkDayFriday - returns BOOL. TRUE if Friday is a workday.

10

WorkDaySaturday - returns BOOL. TRUE is Saturday is a workday.

Return Values

ANY