Office365UsersClient Class

Definition

Typed client for office365users connector.

public class Office365UsersClient : Azure.Connectors.Sdk.ConnectorClientBase
type Office365UsersClient = class
    inherit ConnectorClientBase
Public Class Office365UsersClient
Inherits ConnectorClientBase
Inheritance
Office365UsersClient

Constructors

Name Description
Office365UsersClient()
Office365UsersClient(String)

Creates a new Office365UsersClient with the specified connection runtime URL string. Uses ManagedIdentityCredential by default.

Office365UsersClient(Uri, TokenCredential, ConnectorClientOptions)

Creates a new Office365UsersClient with the specified connection runtime URL and credential.

Office365UsersClient(Uri, TokenCredential)

Creates a new Office365UsersClient with the specified connection runtime URL and credential.

Office365UsersClient(Uri)

Creates a new Office365UsersClient with the specified connection runtime URL. Uses ManagedIdentityCredential by default.

Properties

Name Description
ConnectorName
Pipeline

Gets the HTTP pipeline for making connector requests.

(Inherited from ConnectorClientBase)

Methods

Name Description
CallConnectorAsync(HttpMethod, String, Object, CancellationToken)

Sends a connector API request with no response body. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
CallConnectorAsync<TResponse>(HttpMethod, String, Object, CancellationToken)

Sends a connector API request and deserializes the JSON response. Uses the Azure.Core HttpPipeline for retry, authentication, and diagnostics.

(Inherited from ConnectorClientBase)
DirectReportsAsync(String, String, Nullable<Int32>, CancellationToken)

Get direct reports (V2)

Dispose() (Inherited from ConnectorClientBase)
Dispose(Boolean)

Disposes the connector client resources.

(Inherited from ConnectorClientBase)
HttpRequestAsync(Byte[], CancellationToken)

Send an HTTP request

ManagerAsync(String, String, CancellationToken)

Get manager (V2)

MyProfileAsync(String, CancellationToken)

Get my profile (V2)

MyTrendingDocumentsAsync(String, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Get my trending documents

RelevantPeopleAsync(String, CancellationToken)

Get relevant people

ResolveUrl(String)

Resolves a relative path or validates an absolute URL against the connection runtime URL. When the NextLink host matches the connection URL, it's used as-is. When it doesn't match (codeless connectors like ARM return nextLink pointing to the backend host e.g. management.azure.com), the path+query is extracted and routed through the APIM proxy. This is safe because the request still goes through the connection runtime URL with API Hub auth.

(Inherited from ConnectorClientBase)
SearchUserAsync(String, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Search for users (V2)

TrendingDocumentsAsync(String, String, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Get trending documents

UpdateMyPhotoAsync(Byte[], CancellationToken)

Update my profile photo

UpdateMyProfileAsync(GraphUserUpdateable, CancellationToken)

Update my profile

UserPhotoAsync(String, CancellationToken)

Get user photo (V2)

UserPhotoMetadataAsync(String, CancellationToken)

Get user photo metadata

UserProfileAsync(String, String, CancellationToken)

Get user profile (V2)

Applies to