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

# PFGroupsIsMemberRequest

> PFGroupsIsMemberRequest 資料模型。檢查實體是否為群組或群組內角色的成員。傳回指出實體是否為成員的結果…

PFGroupsIsMemberRequest 資料模型。檢查實體是否為群組或群組內角色的成員。傳回指出實體是否為群組成員的結果；如果呼叫者沒有讀取群組成員清單的權限，則傳回權限錯誤。

## 語法

```cpp theme={null}
typedef struct PFGroupsIsMemberRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    PFEntityKey const* group;  
    const char* roleId;  
} PFGroupsIsMemberRequest;  
```

### 成員

**`customTags`**   [PFStringDictionaryEntry](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

（選擇性）與要求相關聯的選擇性自訂標籤（例如組建編號、外部追蹤識別碼等）。

**`customTagsCount`**   uint32\_t

customTags 的計數

**`entity`**   [PFEntityKey](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

要執行此動作的實體。

**`group`**   [PFEntityKey](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

群組的識別碼。

**`roleId`**   const char\*<br />*is null-terminated*

（選擇性）選擇性：要檢查成員資格之角色的 ID。若未指定，則預設為任何角色 (也就是檢查實體是否以任何身分成為群組成員)。

## 需求

**標頭：** PFGroupsTypes.h

## 另請參閱

[PFGroupsTypes 成員](/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members)


## Related topics

- [PFGroupsIsMemberAsync](/zh-TW/services/playfab/api-references/c/pfgroups/functions/pfgroupsismemberasync.md)
- [服務 C API 概觀 - PFGroupsTypes.h](/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [PFGroupsListGroupMembersRequest](/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistgroupmembersrequest.md)
- [PFGroupsRemoveMembersRequest](/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsremovemembersrequest.md)
- [PFGroupsAddMembersRequest](/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupsaddmembersrequest.md)
