Created
December 25, 2018 15:30
-
-
Save onesword0618/ca326f06dec4d4ecfa7890808cd0c150 to your computer and use it in GitHub Desktop.
getPhotoUrl()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ファイルIDを引数にファイル情報にアクセス | |
| var file = DriveApp.getFileById('XXXXXX'); | |
| // ファイルの共同編集者を取得する | |
| var editors = file.getEditors(); | |
| // 共同編集者のプロフィール画像のURLをログに出力する | |
| for (var i = 0; i < editors.length; i++) { | |
| Logger.log(editors[i].getPhotoUrl()); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment