DateTimeUtil::setUserPreferredTimeZone Method [AX 2012]

Sets the preferred time zone of the user to the specified Timezone enumeration value.

client server public static void setUserPreferredTimeZone(Timezone tz, [boolean persist])

Run On

ClientOrServer

Parameters

tz
Type: Timezone Enumeration
The Timezone enumeration value to set.
persist
Type: boolean
A Boolean value that indicates whether the new value should be persisted.
Show: