Get a User's Events

Retrieves all the events that are in a specified user's Outlook calendar.

This procedure is part of the Microsoft Outlook Book (BDK). To use this book, you must first learn it in your agent.

Note: This operation requires the following permissions on the application: Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite

Input Concepts

Concept
Description
Type
Required

user

The user's calendar from where the events will be retrieved from

office user

Yes

Output Concepts

Concept
Description
Type

user's events

All the events for the user

outlook event

Examples

  1. Retrieve all events for the specified user

get users from office365 whose mail is "[email protected]"
use the first user as john
get john's events from outlook
  1. Retrieve all events for the specified user whose subject matches the specified one

get users from office365 whose mail is "[email protected]"
use the first user as john
get john's events from outlook whose subject is "Birthday Party"
  1. Retrieve all events whose start date is after Jul 7, 2022 12:30 UTC

get users from office365 whose mail is "[email protected]"
use the first user as john
get john's events from outlook whose "start/dateTime" is greater than "2022-07-14T12:30:00Z"

Last updated

Was this helpful?