TdxMicrosoftGraphAPIOAuth2AuthorizationAgentUserInfo Class
A data provider that retrieves the user information from a connected Microsoft online account.
Declaration
TdxMicrosoftGraphAPIOAuth2AuthorizationAgentUserInfo = class(
TdxOAuth2AuthorizationAgentUserInfo
)
Remarks
This class implements the online data provider that can retrieve the user display name and e-mail via the Microsoft Graph® API. Call the GetUserInfo class function passing a Microsoft OAuth 2.0 authorization agent component as a parameter to create a complementary data provider that you can use with other DevExpress Microsoft Graph® API-compatible providers (for instance, TcxSchedulerWebServiceStorageOfficeProvider).
The TdxMicrosoftGraphAPIOAuth2AuthorizationAgentUserInfo class provides the following members that allow you to:
Access and configure the Microsoft account user information provider’s authorization agent and configure it (AuthorizationAgent);
Connect to a Microsoft online account and retrieve the user information (UpdateInfo);
Obtain the user e-mail and display name from the connected account (Mail and DisplayName).