The Domain service, which allows G Suite domain administrators to manage users and groups, is deprecated as of May 15, 2014, and will be turned off on November 20, 2014. The service is replaced by the recently added Admin SDK Directory and Admin SDK Reports advanced services. This page outlines the migration path from Domain service to its new replacement, Admin SDK.
Method comparison
The table below provides an overview of the methods used in Domain service and their equivalent methods (if any) in Admin SDK.
New features in Admin SDK
In addition to the supported methods outlined above, the Admin SDK advanced services provide the following new features:
Feature | Admin SDK class or method |
---|---|
Admin notifications |
AdminDirectory.Notifications |
Application-specific passwords |
AdminDirectory.Asps |
Device management |
AdminDirectory.Chromeosdevices
AdminDirectory.Mobiledevices |
Group aliases |
AdminDirectory.Groups.Aliases |
OAuth tokens |
AdminDirectory.Tokens |
Org units |
AdminDirectory.Orgunits |
Reporting |
AdminReports |
Search for users |
AdminDirectory.Users.list(optionalArgs) Parameter:
query |
Un-delete users |
AdminDirectory.Users.undelete() |
User data |
AdminDirectory.Users.get(userKey) |
User photo |
AdminDirectory.Users.Photos.get(userKey) |
Verification codes (2-factor) |
AdminDirectory.VerificationCodes |