Вопрос

I'm working on application, which uses google apps API. In my application google domain's admin can add users from domain and do some manipulation with them. This parts works well.

But google apps admin can change email or name of his domain's users. And here is the problem. I'm trying to investigate, what's the best way to figure out that user's email was changed. I was thinking that the best way is to check user's nicknames(when admin changes user's email his old email is attached to him as 'nickname'), but there's posibility to delete this nickname, so there can be nothing to check.

Which suggestions do you have?

Thanks in advance.

Это было полезно?

Решение

You should replace Google Provisioning API calls with the new Directory Admin SDK API calls. The new Directory API calls provide you with an immutable ID (the id attribute) for user accounts that will not change when an admin renames the user's primary email address.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top