简体   繁体   English

是否可以在 Google 表单中从已登录的 Google 帐户中预先填写姓名?

[英]Is there way to Pre-Fill name from the signed in Google Account in Google Forms?

I need to pull the name off of the GSuite Business account name and have it automatically be filled in the form when opened along with the email address.我需要从 GSuite Business 帐户名称中提取名称,并在打开时将其与电子邮件地址一起自动填写到表单中。 Is this possible using Apps Script?这可以使用 Apps 脚本吗?

Yes you have to use Directory API to retrieve informations about directory users.是的,您必须使用 Directory API 来检索有关目录用户的信息。 https://developers.google.com/admin-sdk/directory/reference/rest/v1/users https://developers.google.com/admin-sdk/directory/reference/rest/v1/users

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM