Skip to main content

XblMultiplayerSessionCurrentUserSetGroups

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.14x.GDK.C.lib

See also

multiplayer_c
Last modified on August 4, 2026