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