/// <summary> /// Gets the details for current logged in user /// </summary> /// <param name='operations'> /// Reference to the Microsoft.Azure.Graph.RBAC.IObjectOperations. /// </param> /// <returns> /// Server response for Active Directory objects inquiry API calls /// </returns> public static Task <GetCurrentUserResult> GetCurrentUserAsync(this IObjectOperations operations) { return(operations.GetCurrentUserAsync(CancellationToken.None)); }