Hi,

is there a way when authenticating a user I can access a unique ID for
the Google account the client has logged into? Here is the code I am
using:

         'CREATE SESSION
         Session("sessionToken") = AuthSubUtil.exchangeForSessionToken
(Request.QueryString("token"), Nothing)

        'ACCESS CALENDAR SERVICE
        Dim authFactory As New GAuthSubRequestFactory("cl",
"CalendarSampleApp")
        authFactory.Token = Session("sessionToken")
        Dim myService As New CalendarService
(authFactory.ApplicationName)
        myService.RequestFactory = authFactory

Having some identifier will allow me to ensure my application
interfaces with just one Google Calendar. If the client logs into
different Google accounts at different times it will crossover all the
interaction with the calendar.

What would be nice is to access the clients Google Account Email
however I think this is not available?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to