/// <summary>
 /// Gets a collection that contains the Object IDs of the groups of
 /// which the user is a member.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Graph.RBAC.IUserOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. User filtering parameters.
 /// </param>
 /// <returns>
 /// Server response for GetMemberGroups API call
 /// </returns>
 public static Task<UserGetMemberGroupsResult> GetMemberGroupsAsync(this IUserOperations operations, UserGetMemberGroupsParameters parameters)
 {
     return operations.GetMemberGroupsAsync(parameters, CancellationToken.None);
 }
 /// <summary>
 /// Gets a collection that contains the Object IDs of the groups of
 /// which the user is a member.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the Microsoft.Azure.Graph.RBAC.IUserOperations.
 /// </param>
 /// <param name='parameters'>
 /// Required. User filtering parameters.
 /// </param>
 /// <returns>
 /// Server response for GetMemberGroups API call
 /// </returns>
 public static UserGetMemberGroupsResult GetMemberGroups(this IUserOperations operations, UserGetMemberGroupsParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((IUserOperations)s).GetMemberGroupsAsync(parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }