/// <summary> /// Remove the users from the distribution group /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='ownerName'> /// The name of the owner /// </param> /// <param name='appName'> /// The name of the application /// </param> /// <param name='distributionGroupName'> /// The name of the distribution group /// </param> /// <param name='members'> /// The list of members to add /// </param> public static IList <DistributionGroupUserDeleteResponse> RemoveUser(this IDistributionGroups operations, string ownerName, string appName, string distributionGroupName, DistributionGroupUserRequest members) { return(operations.RemoveUserAsync(ownerName, appName, distributionGroupName, members).GetAwaiter().GetResult()); }