OrganizationHierarchyPlugin.GetMyManagerEmailAsync(CancellationToken) Method

Definition

Get the email of the manager of the current user.

[Microsoft.SemanticKernel.KernelFunction]
public System.Threading.Tasks.Task<string> GetMyManagerEmailAsync(System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.GetMyManagerEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetMyManagerEmailAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

cancellationToken
CancellationToken

An optional CancellationToken to observe while waiting for the task to complete.

Returns

A string containing the email address of the manager of the current user.

Attributes

Applies to