OrganizationHierarchyPlugin.GetMyDirectReportsEmailAsync Method

Definition

Get the emails of the direct reports of the current user.

[Microsoft.SemanticKernel.KernelFunction]
public System.Threading.Tasks.Task<string> GetMyDirectReportsEmailAsync(System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.SemanticKernel.KernelFunction>]
member this.GetMyDirectReportsEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetMyDirectReportsEmailAsync (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 JSON string containing the email addresses of the direct reports of the current user.

Attributes

Applies to