OrganizationHierarchyPlugin.GetMyManagerEmailAsync(CancellationToken) 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 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