Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8530221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:12:36+00:00 2026-06-11T09:12:36+00:00

I have a spreadsheet with a UI app script. The app reads/updates from the

  • 0

I have a spreadsheet with a UI app script. The app reads/updates from the spreadsheet.

My current settings are: Execute the app as “me”.

Who has access to the app: “anyone”.

I’m essentially sending out workflows that have assignments by email. Those emails can be outside of the domain but would all be gmail addresses.

I had hoped I’d be able to access the Session.getActiveUser() as I need to allow certain functionality on the app based on user accessing the UiApp. That function does not seem to provide any info unless I’m logged in as the script owner. Session.getActiveUser() is blank when accessing from a different address.

Is there a way to get the active user without having to Execute the app as “User accessing the app”. I’d rather not have to share the spreadsheet with all the end users.

Thanks for any suggestions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:12:38+00:00Added an answer on June 11, 2026 at 9:12 am

    Rewrite from comments for readability :

    Sharing the spreadsheet in this context doesn’t mean anybody could open the spreadsheet directly as a document as long as the url of the spreadsheet remains unknown. The app will indeed need to have access to it if you deploy your app as ‘User accessing the webapp’ but no one can find the url of the sheet unless you publish it. I use this configuration very often but of course I don’t know your exact use case… 😉 In my case the app itself determines what a specific user can do or not (by enabling /disabling certain functions / panels depending on the logged user.

    Here is an example of an app like this, can you find the source spreadsheet ?

    My spreadsheet has “anyone with the link” so the app can read and write to it but the name of the spreadsheet and its url is unknown (except for me) so it never appears in the document list of the user even if the user “writes” something in the document through the webapp (since he never actually “opens” it). I checked that on different accounts and never found any exception.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java app while parses input from a spreadsheet. I've added the
I have the following code from a legacy app which currently reads from an
I have created a UI web app in google apps script which access a
I have written a WinForms app that uploads addresses from a spreadsheet, and geocodes
I have a web app which lets the user select the excel spreadsheet and
Like many, I have spreadsheet that draws data from over 40 text files as
I have an Excel spreadsheet that I have exported from some other program. It
I'm writing an application in vb.net 2005. The app reads a spreadsheet into a
I'm building an iPhone app that has to download an Excel (.xls) file from
I have an ruby app, witch using spreadsheet. After packaging app into EXE by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.