I need a way to identify users. I have a Google site that is users access via their gmail accounts. My site is designed to allow users to view any data, but edit only their own data. This works fine for me as I'm the owner of the site and publisher of the scripts, but Session.getActiveUser().getUserLoginId()
returns null
for anyone else.
Please provide me the solution about this problem. Any link / any piece of code?
2
votes