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 peace of code?
相关问题
- How can I force all files in a folder to be owned
- java client program to send digest authentication
- Google Apps Script: testing doPost() with cURL
- Google Apps Script to turn in, grade, and return a
- PHP persistent login - Do i reissue a cookie after
相关文章
- How to allow access for importrange function via a
- Google app script trigger not working
- User.Identity.IsAuthenticated vs WebSecurity.IsAut
- Set Date/Time to 00:00:00
- indexOf returning -1 despite object being in the a
- Using MIN() inside ARRAYFORMULA()
- SwiftUI - Vertical Centering Content inside Scroll
- Override UserManager in django
I suppose, that the script is deployed with the
Execute the app as:
combobox set tome
. Please check it and change the combobox value toUser accessing the web app
.