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

# PFGroupsIsMemberAsync

> Checks to see if an entity is a member of a group or role within the group

Checks to see if an entity is a member of a group or role within the group

## Syntax

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

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

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

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. Checks to see if an entity is a member of a group or role within the group. A result indicating if the entity is a member of the group is returned, or a permission error if the caller does not have permission to read the group's member list. See also GroupGetGroupAsync. When the asynchronous task is complete, call [PFGroupsIsMemberGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupsismembergetresult) to get the result.

## Requirements

**Header:** PFGroups.h

## See also

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


## Related topics

- [PFGroupsIsMemberGetResult](/services/playfab/api-references/c/pfgroups/functions/pfgroupsismembergetresult.md)
- [Services C API overview - PFGroups.h](/services/playfab/api-references/c/pfgroups/pfgroups_members.md)
- [PFGroupsListGroupMembersAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupslistgroupmembersasync.md)
- [PFGroupsAddMembersAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsaddmembersasync.md)
- [PFGroupsRemoveMembersAsync](/services/playfab/api-references/c/pfgroups/functions/pfgroupsremovemembersasync.md)
