OrganizationHierarchyPlugin.GetMyDirectReportsEmailAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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