Create users using Service Account with Google Admin SDK? -
the documentation little unclear on this. can this? examples i've seen far google documentation show using googleauthorizationcodeflow class gain authorization. i've seen few examples of using service business relationship update , retrieve list of users, nil creating. possible? if so, know of examples floating around? can't seem find addresses it.
you can follow steps outlined in next api docs page create service business relationship , perform domain wide delegation of authority, please bear in mind need email address of domain administrator service business relationship can deed on behalf:
https://developers.google.com/admin-sdk/directory/v1/guides/delegation
the page includes java illustration of how instantiate com.google.api.services.admin.directory.directory object using service business relationship , private key created on google developers console. utilize illustration i've provided in reply create users:
create gmail business relationship domain using google admin sdk directory api in java
google-api-java-client google-admin-sdk
No comments:
Post a Comment