Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Google Apps may return a different email than the one added #1

Open
sixlettervariables opened this issue Mar 17, 2015 · 0 comments
Open

Comments

@sixlettervariables
Copy link
Contributor

As alluded to in the source, sometimes when you call AdminDirectory.Members.insert() the response includes a different email than the one sent. Google Admin dashboard does not show the different email either!

// Example
var user = AdminDirectory.Members.insert(
  { email: '[email protected]', role: 'MEMBER' },
  group);

// user.email == '[email protected]'

Currently the code handles this by making note of the mismatch and including it in the report back to the owner of the list.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant