googleworkspace / android-samples

Android samples for Google Workspace APIs
Apache License 2.0
636 stars 410 forks source link

Question: user info using drive api only #47

Closed khusravsh closed 6 years ago

khusravsh commented 8 years ago

Is it possible to get connected client user info, like username, email, when using Google Client Api for access and adding Drive API only? Or, have to use some other api like G+ or Sign-In?

asrivas commented 6 years ago

This is not a Drive API question, please see AccountManager documentation: https://developer.android.com/reference/android/accounts/AccountManager.html#getUserData(android.accounts.Account, java.lang.String)

khusravsh commented 6 years ago

@asrivas have you seen the date of the question?