Google Groups Directory API - Add user to group raises error - PHP
问题 I have been trying to add members to my google apps group. I am trying with following code but it raises error. Don't know what is doing wrong. include_once 'api-client/autoload.php'; $clientId = 'xxxxxxxxxxxxxxxxx.apps.googleusercontent.com'; $serviceAccountName = 'xxxxxxxxxxxxxxxxxxx@developer.gserviceaccount.com'; $delegatedAdmin = 'superadmin@domain.com'; $keyFile = 'mw-gxxxxxxxx.p12'; $appName = 'Example App'; $scopes = array( 'https://www.googleapis.com/auth/admin.directory.group' );