> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblSocialManagerRemoveLocalUser

> XblSocialManagerRemoveLocalUser

# XblSocialManagerRemoveLocalUser

Supprime immédiatement le graphe social de l'utilisateur local spécifié.

## Syntaxe

```cpp theme={null}
HRESULT XblSocialManagerRemoveLocalUser(  
         XblUserHandle user  
)  
```

### Paramètres

*user*   \_In\_\
Type : XblUserHandle

Utilisateur XBOX Live à retirer.

### Valeur de retour

Type : HRESULT

Code de retour HRESULT pour cette opération d'API.

## Remarques

Lorsqu'un utilisateur est retiré, son graphe social et ses groupes d'utilisateurs sont également détruits. Aucun événement associé à l'utilisateur ne sera généré après son retrait. Appelez cette API uniquement si [XblSocialManagerAddLocalUser](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanageraddlocaluser.md) a été utilisée pour créer un graphe social pour un utilisateur local.

## Configuration requise

**En-tête :** social\_manager\_c.h

**Bibliothèque :** Microsoft.Xbox.Services.14x.GDK.C.lib

## Voir aussi

[social\_manager\_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)


## Related topics

- [XblSocialManagerAddLocalUser](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanageraddlocaluser.md)
- [XblSocialManagerGetLocalUserCount](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusercount.md)
- [Vue d'ensemble de Social Manager](https://docs.xbox.com/fr-CA/services/xbox-services/community/social-manager/live-social-manager-overview.md)
- [social_manager_c](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerGetLocalUsers](https://docs.xbox.com/fr-CA/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusers.md)
