Concern in GetUserId()


May i request for your help regarding our concern using the GetUserId().
In our scenario once we migrated our application using lifetime from UAT to Prod Environment and tried to call the GetUserId() it always returned 0
but upon checking on the Production Users portal ( our account is exists. Thank you

Hello Reuben,

If GetUserId returns zero, there is no logged user. 

Did you logged in the application?

Also, where is the GetUserId being used? 


Thank you for your feedback i'll get back to you regarding our objective on using GetUserId(). Thank you