/// <summary>
 /// Get profile of current user.
 /// </summary>
 /// <remarks>
 /// Represents an Azure Active Directory user object.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 public static MicrosoftGraphUser GetMyProfile(this IUsersOperations operations)
 {
     return(operations.GetMyProfileAsync().GetAwaiter().GetResult());
 }