How to determine UserID from successful TWebRESTClient.Authenticate?

I'm using WebRESTClient1.Authenticate as in the Google Drive demo in my app to log into one of several Google accounts. It's not evident to me how to retrieve in my app which account ID was selected. Clearly, there is and should not be a way to access the password that the user entered, but the selected account ID is seemingly not sensitive information. Am I overlooking the obvious or is this not possible?

After you have an access token, this request will return account information


await(TJSXMLHttpRequest, WebRESTClient1.httprequest('GET','https://www.googleapis.com/drive/v3/about/?fields=kind,user,storageQuota'));

Google Doc about this is here:

1 Like

Thank you, Bruno!! I'd be embarrassed not to have found this myself (I did search for it, but didn't think to call it specifically "user info"!) except that I despair of ever truly understanding most of the information in "Google for Developers", which is IMO one of the worst written set of documents on the web.