OrganizationHierarchyConnector.GetDirectReportsEmailAsync 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 user's direct reports' email addresses.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> GetDirectReportsEmailAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetDirectReportsEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
override this.GetDirectReportsEmailAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
Public Function GetDirectReportsEmailAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))
Parameters
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.
Returns
The user's direct reports' email addresses.