简体   繁体   中英

Nickname vs. Alias in Google API

I am working on migrating some code that uses the Google APIs to manage users in my company's Google Apps domain before the April 20, 2015 deadline (see Reminder to migrate to updated Google Data APIs ).

I am new to this project and I am having trouble understanding nicknames, user aliases, and e-mail aliases.

  1. In the "old" Google API environment (Provisioning API) what is the difference between a nickname and a user alias ?

  2. How do nicknames and user aliases in the old environment map to user aliases in the Directory API?

  3. Where did nicknames go in the Directory API?

You are only dealing with naming issues here. Email aliases used to be described as nicknames in Google Apps. You should migrate any nickname code you have to use the Alias API calls of the Directory API.

They removed nicknames from Google Apps APIs. Now they just call them aliases. Here's the link - https://developers.google.com/admin-sdk/directory/v1/reference/users/aliases

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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