OrganizationHierarchyConnector.GetManagerEmailAsync(CancellationToken) Method

Definition

Get the user's manager's email address.

public System.Threading.Tasks.Task<string> GetManagerEmailAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagerEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GetManagerEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetManagerEmailAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

The user's manager's email address.

Implements

Applies to