The last system service that we will discuss is the user session service. This service exposes information about the current user and its session. Although this service is categorized by Microsoft as a system service, technically it isn't. Unlike other system services, the business logic is contained in a service class in the AOT and exposed using a basic port. Consequently, it is also possible to expose this service using an enhanced port, allowing you to further customize the service.
GetUserSessionInfo: This returns information about the current session in the form of an instance of the
UserSessionInfoclass containing the following information: language, currency, company, company time zone, user-preferred time zone, preferred calendar, user ID, whether the user is a system admin, and the locale name.