> ## 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.

# PFGroupsGetGroupAsync

> Gets information about a group and its roles

Gets information about a group and its roles

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

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

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. Returns the ID, name, role list and other non-membership related information about a group. See also GroupUpdateGroupAsync. When the asynchronous task is complete, call [PFGroupsGetGroupGetResultSize](/services/playfab/api-references/c/pfgroups/functions/pfgroupsgetgroupgetresultsize) and [PFGroupsGetGroupGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupsgetgroupgetresult) to get the result.

## Requirements

**Header:** PFGroups.h

## See also

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


## Related topics

- [PFGroupsGetGroupGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupsgetgroupgetresult.md)
- [Services C API overview - PFGroups.h](/services/playfab/api-references/c/pfgroups/pfgroups_members.md)
- [PFGroupsCreateGroupAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupscreategroupasync.md)
- [PFGroupsUpdateGroupAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsupdategroupasync.md)
- [PFGroupsInviteToGroupAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsinvitetogroupasync.md)
