Skip to main content
Sets a string vector of group names for the current user indicating which groups that user was part of during a multiplayer session.

Syntax

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session. groups   _In_reads_(groupsCount)
Type: char**
Array of group names. groupsCount   _In_
Type: size_t
Size of the groups array.

Return value

Type: HRESULT HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h Library: Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

multiplayer_c
Last modified on October 29, 2026