Freigeben über


SessionSettings Data Type

The SessionSettings data type is a complex data type for passing user personalization settings for a client session as an object. The object contains properties that correspond to the fields in the system table 2000000073 User Personalization, including: App ID, Company, Language ID, Locale ID, Profile ID, Scope, and Time Zone. You can use the AL functions of the SessionSettings data type to get, set, and send the user personalization settings for the current client session.

The SessionSettings data type is used extensively in the AL code of page 9176 My Settings to enable users to change settings on the page, such as Role Center or company, without having to sign-in to the client again in order for the changes to take effect.

Note

The SessionSettings data type is not supported in extensions.

SessionSettings functions that are called in an OData or SOAP web service call are ignored.

Functions

The following functions are supported for the SessionSettings data type:

COMPANY Function

INIT Function

LANGUAGEID Function

LOCALEID Function

PROFILEAPPID Function

PROFILEID Function

PROFILESYSTEMSCOPE Function

REQUESTSESSIONUPDATE Function

TIMEZONE Function

See Also

C/AL Functions