I need a way to identify users. I have a Google site accessed through their gmail accounts. My site is designed to allow users to view any data, but only edit their own data. This works great for me, as I am the owner of the site and the publisher of scripts, but Session.getActiveUser().getUserLoginId()returns nullfor anyone else.
Please provide me a solution to this problem. Any link / any world of code?
source
share