I am sharing many sheets with many people, giving them both Edit and Share permissions. I want to share it only with people ("Party B") who have Google accounts, in order to assure greater security/accountability. However, it is difficult (impossible?) to verify that Party B has/is a Google account inside Google Apps Script, which is where all this is happening.
Furthermore: Since I'm giving Party B "Share" permissions, there's no way I can keep them from sharing with any number of non-Google accounts, thereby making the file essentially open to all. I can't turn off download/print/copy, and I wouldn't even care if Party B shared "view only" with non-Google accounts. But if the document itself is a "hot" coordination/collaboration document, and I want to be sure I understand who is making edits, I have to assure that everyone it is shared with has a Google account. Yet there's no way to even check that (with GAS), and no way to control it either.
So unless I'm missing something (which is why I'm asking here), this is a feature request. Google should (imo) create ways to check for, and limit sharing of a particular document, to accounts that are Google accounts. It seems like, at a minimum, that would entail adding another switch in the Advanced Sharing dialogue that says "never ever share this with anyone who doesn't have a Google account".
I was directed to ask this here from the Google help forums. I've tried very hard to formulate a clear question, and I've spent dozens of hours trying to figure out if there's a way around this problem -- hopefully the question illustrates that. Furthermore, I think this could be helpful to clarify for other people (especially if anyone has good ideas/information). I am using Google Apps for Work.