prayagverma / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

Feature Request: unique ID instead of username #680

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
CreateUser uses the username as the ID. This presents a problem if the username 
changes. I am keeping both Active Directory and Google Apps in sync with 
another database. Usernames are based on first and last names. If either 
changes, the accounts need to be renamed. 

In active directory I use the employeeid attribute to uniquely identify the 
account based on the ID in the database. It would be nice to do the same thing 
in Google Apps. 

See the following:

  https://developers.google.com/admin-sdk/directory/v1/guides/manage-users

  "In general, Google recommends to not use the user email address as a
  key for persistent data since the email address is subject to change."

It doesn't look like the gdata-python-client is implementing that API, but is 
it possible to separate the ID and the username?

What version of the product are you using?
2.0.18

Original issue reported on code.google.com by car...@clanhanson.com on 15 Sep 2013 at 9:05