/// <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> public static IList <DistributionGroupUserGetResponse> ListUsers(this IDistributionGroups operations, string ownerName, string appName, string distributionGroupName, bool?excludePendingInvitations = default(bool?)) { return(operations.ListUsersAsync(ownerName, appName, distributionGroupName, excludePendingInvitations).GetAwaiter().GetResult()); }