Google Apps脚本 - ContactsApp - 目录搜索 [英] Google Apps Script - ContactsApp - Directory search

查看:131
本文介绍了Google Apps脚本 - ContactsApp - 目录搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆