Hi,
In my private outsystems enviroment I cant find session var ( UserId) , like this:
Is it need setting in server?
Thanks
You can add the variable by right-clicking "Session Variables" and selecting "Add Session Variable".
Alternatively, if you need to know the Id of the currently logged in user, you can use the "GetUserId()" function.
Hi Aurelio Santos,
Thank you very much.
I know how to add session var.
I have remebered when i create an app , session var (like userId, userName, MobilePhone etc) will be added automatilly. But in my private enviroment outystems dont add userId automatatilly when i can an app.