Dear Vinu T,
Thank you for your question! Below is a Google Apps Script solution that retrieves a list of users who currently have access to book a specific meeting room (resource calendar).
Solution: List Users with Access to a Meeting Room
Key Notes:
1. Prerequisites:
The script requires the Calendar API enabled in the Apps Script project (go to `Resources > Advanced Google Services`).
The user running the script must have admin rights or owner access to the meeting room's calendar.
2. How to Use:
Replace `meeti...@yourdomain.com` with the target meeting room's email/calendar ID.
The script logs users with "writer" or "owner" roles (these roles can book events). Adjust roles if needed.
3. Output Options:
Results are logged to the Apps Script console and optionally emailed.
You can modify the script to output to a Google Sheet or UI alert.
Let me know if you need further customization (e.g., checking group access, filtering specific roles).