Google Apps脚本 - ContactsApp - 目录搜索 [英] Google Apps Script - ContactsApp - Directory search
问题描述
在Google电子表格中,我尝试验证用户从域目录内输入的电子邮件地址。我的目标是改变所有权/合作者的权利(但这是更进一步的)。
我已经使用ContactsApp.getContacts()调出我的联系人中的联系人列表。但是,没有进入域目录
为了确认我已经使用了ContactsApp.getContactGroups()并遍历这个,然后使用了getName(),它生成了一个列表我的联系人文件夹。
我的问题是首先,是否可以以用户身份遍历域名联系人目录?
非常感谢您提前
我认为该功能尚未支持。
另请参阅: https:// code.google.com/p/google-apps-script-issues/issues/detail?id=1822
From within the Google Spreadsheet I am trying to validate an e-mail address which the user enters to one from within the domain directory. The aim is to change ownership / collaborator rights (but that is further down the line).
I have used ContactsApp.getContacts() which has been iterated through this as expected brings up a list of contacts within my contacts. However, does not go onto the Domain Directory
To confirm I have then used ContactsApp.getContactGroups() and iterated through this and then used getName() which produces a list of my Contact Folders.
My question is firstly, is it possible to iterate through the Domain Contact Directory as a user?
It appears that I am looking in the wrong place, where should I be looking.
Many thanks in advance
Neil
I think that feature is not supported yet. see also: https://code.google.com/p/google-apps-script-issues/issues/detail?id=1822
这篇关于Google Apps脚本 - ContactsApp - 目录搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!