/// <summary> /// Returns a list of member details in the distribution group specified /// </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='excludePendingInvitations'> /// Whether to exclude pending invitations in the response /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <DistributionGroupUserGetResponse> > ListUsersAsync(this IDistributionGroups operations, string ownerName, string appName, string distributionGroupName, bool?excludePendingInvitations = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListUsersWithHttpMessagesAsync(ownerName, appName, distributionGroupName, excludePendingInvitations, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }