> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFGroupsListGroupMembersAsync

> Lists all members for a group

Lists all members for a group

## Syntax

```cpp theme={null}
HRESULT PFGroupsListGroupMembersAsync(  
    PFEntityHandle entityHandle,  
    const PFGroupsListGroupMembersRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFGroupsListGroupMembersRequest\*](/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistgroupmembersrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on all platforms. Gets a list of members and the roles they belong to within the group. If the caller does not have permission to view the role, and the member is in no other role, the member is not displayed. Returns a list of entities that are members of the group. See also GroupListMembershipAsync. When the asynchronous task is complete, call [PFGroupsListGroupMembersGetResultSize](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupmembersgetresultsize) and [PFGroupsListGroupMembersGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupmembersgetresult) to get the result.

## Requirements

**Header:** PFGroups.h

## See also

[PFGroups members](/services/playfab/api-references/c/pfgroups/pfgroups_members)


## Related topics

- [PFGroupsListGroupMembersGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupmembersgetresult.md)
- [Services C API overview - PFGroups.h](/services/playfab/api-references/c/pfgroups/pfgroups_members.md)
- [PFGroupsListMembershipAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistmembershipasync.md)
- [PFGroupsListGroupApplicationsAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupapplicationsasync.md)
- [PFGroupsListGroupBlocksAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupblocksasync.md)
