Skip to main content

TcxSchedulerWebServiceStorageOfficeProvider.GetScopes Method

Returns the list of online calendar access permissions that the associated authorization agent requests on a successful connection to a Microsoft account.

Declaration

function GetScopes: TStringList; override; final;

Returns

Type Description
TStringList

A string list.

Remarks

This function supports the internal infrastructure and is not intended to be used directly from your code. The Microsoft OAuth 2.0 authorization agent calls the GetScopes function internally via the IdxOAuth2AuthorizationAgentScopeRequestor interface to request the data access permissions required to work with online calendars in a connected account. The returned Microsoft online calendar access scope depends on the ReadOnly property value:

ReadOnly Property Value Calendar Access Scope String Description
False ‘Calendars.ReadWrite’ The provider can synchronize event data between its web service storage resource and the selected calendar in the connected Microsoft account without restrictions.
True ‘Calendars.Read’ The provider can only obtain events from the selected calendar in the connected online account. The capability to add, remove, or modify existing user events is not available in read-only mode.

Every time you disable or enable the read-only mode, the associated authorization agent updates its list of online data access permissions and restarts an established connection to a Microsoft account.

Note

The Microsoft calendar event data provider can only obtain events and/or synchronize event data between its web service storage resource and the selected calendar depending on the ReadOnly property value. The provider does not allow you to add, remove, or customize calendars within the connected account.

See Also