The user session service exposes information about the current user and their 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.
The user session has the following operations:
GetUserSessionInfo
: This returns information about the current session in the form of an instance of theUserSessionInfo
class 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.GetAccessRights
: This returns a collection of the typeAccessRight
that contains the permissions which the user has on the items that were provided as parameters, such as tables...