跳轉到主要內容
PFGroupsChangeMemberRoleRequest 資料模型。在單一作業中將實體清單的角色成員資格從某個角色變更為另一個角色。目的地角色必須已存在。這相當於將實體新增至目的地角色並從來源角色中移除。成功時不傳回任何內容。

語法

成員

customTags PFStringDictionaryEntry const*
may be nullptr
(選擇性)與要求相關聯的選擇性自訂標籤(例如組建編號、外部追蹤識別碼等)。 customTagsCount uint32_t customTags 的計數 destinationRoleId const char*
is null-terminated
(選擇性)實體將成為其成員的角色識別碼。這必須是現有的角色。角色識別碼的長度必須介於 1 到 64 個字元之間。 group PFEntityKey const* 群組的識別碼。 members PFEntityKey const* 要在群組中的角色之間移動的實體清單。此清單中的所有實體都必須是群組和來源角色的成員。 membersCount uint32_t members 的計數 originRoleId const char*
is null-terminated
實體目前所屬角色的識別碼。角色識別碼的長度必須介於 1 到 64 個字元之間。

需求

標頭: PFGroupsTypes.h

另請參閱

PFGroupsTypes 成員
最後修改於 2026年10月6日