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

# PFGroupsCreateGroupResponse

> PFGroupsCreateGroupResponse 資料模型。

PFGroupsCreateGroupResponse 資料模型。

## 語法

```cpp theme={null}
typedef struct PFGroupsCreateGroupResponse {  
    const char* adminRoleId;  
    time_t created;  
    PFEntityKey const* group;  
    const char* groupName;  
    const char* memberRoleId;  
    int32_t profileVersion;  
    PFStringDictionaryEntry const* roles;  
    uint32_t rolesCount;  
} PFGroupsCreateGroupResponse;  
```

### 成員

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

（選擇性）群組的系統管理員角色識別碼。

**`created`**   time\_t

建立群組時的伺服器日期和時間。

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

群組的識別碼。

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

（選擇性）群組的名稱。

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

（選擇性）群組的預設成員角色識別碼。

**`profileVersion`**   int32\_t

設定檔的目前版本，可用於更新期間的並行控制。

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

（選擇性）屬於群組的角色和名稱清單。

**`rolesCount`**   uint32\_t

roles 的計數

## 需求

**標頭：** PFGroupsTypes.h

## 另請參閱

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


## Related topics

- [PFGroupsCreateGroupGetResult](/zh-TW/services/playfab/api-references/c/pfgroups/functions/pfgroupscreategroupgetresult.md)
- [服務 C API 概觀 - PFGroupsTypes.h](/zh-TW/services/playfab/api-references/c/pfgroupstypes/pfgroupstypes_members.md)
- [Create Group](/api-reference/groups/create-group.md)
- [PFGroupsCreateGroupRoleResponse](/zh-TW/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupscreategrouproleresponse.md)
- [Create Shared Group](/api-reference/shared-group-data/create-shared-group.md)
