List calendars
This example retrieves a list of calendars accessible to the authenticated user or specified user. Use UserId='me' for the current user (OAuth) or a specific email for service accounts with domain-wide delegation.
Note: For service accounts, impersonation may be required for non-'me' users.
SELECT * FROM Calendars
-- Default: Lists calendars for the authenticated user
--OR--
--SELECT * FROM Calendars WITH(UserId='me') -- for OAuth authenticated user
--SELECT * FROM Calendars WITH(UserId='someuser@email.com') -- for specific user (requires domain-wide delegation for service accounts)