4D-NetKit

Office365 class

Overview

The Office365 class is the entry point for calling the Microsoft Graph API in 4D NetKit. It is a facade that exposes four lazily-instantiated API clients:

Each client is instantiated on first access and reused for subsequent calls.

These operations can be performed after a valid token request (see OAuth2Provider).

The Office365 class can be instantiated in two ways:

Warning: Shared objects are not supported by the 4D NetKit API.

Table of Contents

New Office365 provider

The Office365 class can be instantiated using the New Office365 provider method.

See New Office365 provider for the complete method documentation.

Returned object

The returned Office365 object exposes the following properties, each giving access to a dedicated API client:

Property Type Description
user Office365User Microsoft Graph user client: read Azure AD user profiles.
mail Office365Mail Microsoft Graph mail client: read, send, move, copy, reply, update, and delete messages and folders.
calendar Office365Calendar Microsoft Graph calendar client: manage calendars and events.
category Office365Category Microsoft Graph category client: read Outlook master categories.

See also

Office365User
Office365Mail
Office365Calendar
Office365Category
OAuth2Provider