Skip to main content

XblSocialManagerRemoveLocalUser

Immediately removes a social graph for the specified local user.

Syntax

Parameters

user   _In_
Type: XblUserHandle
XBOX Live User to remove.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

When a user is removed, their social graph and user groups will be destroyed as well. There will be no future events associated with the user after they are removed. Call this API only if XblSocialManagerAddLocalUser was used to create a social graph for a local user.

Requirements

Header: social_manager_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

social_manager_c
Last modified on August 20, 2026