110
Views
2
Comments
session var userid
Question

Hi, 

   In my private outsystems enviroment  I cant find  session var ( UserId) , like this:

      Is it need setting in server?

Thanks


  



2019-09-30 07-35-56
Aurelio Junior

Hi,

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.

UserImage.jpg
shake mountain

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.

Thanks


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.