How to get logged in user information (userId) in mobile app in P10?

How to get logged in user information (userId) in mobile app in P10?

  

Hi,

I have user related data. How can I get data for currently logged in user?

Solution

Hi Valery,

There is an function GetUserId() that returns the current user logged.

(Built-in Functions -> Roles -> GetUserId())


Regards

Fabio

Solution

How get alternative function on version 9.1??? This built-function only existis on P10.


Fantato wrote:

Hi Valery,

There is an function GetUserId() that returns the current user logged.

(Built-in Functions -> Roles -> GetUserId())


Regards

Fabio



Hi Thiago,


In 9 that information is available as Session variables. So Session.UserId


Regards,
João Rosado