i am developing an app.i am using google provisioning api in this app.in documentation it is mentioned that for getting information related to a user account we have to pass a parameter userName in url
GET https://apps-apis.google.com/a/feeds/domain/user/2.0/userName
i am logged in an application i can get his email address ,his Id using basic profile info api (https://www.googleapis.com/oauth2/v1/userinfo?access_token={accessToken})but how to get userName of the logged in user .please some one help!!