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

# XblSocialManagerAddLocalUser

> XblSocialManagerAddLocalUser

# XblSocialManagerAddLocalUser

지정된 로컬 사용자에 대한 소셜 그래프를 생성합니다.

## Syntax

```cpp theme={null}
HRESULT XblSocialManagerAddLocalUser(  
         XblUserHandle user,  
         XblSocialManagerExtraDetailLevel extraLevelDetail,  
         XTaskQueueHandle queue  
)  
```

### Parameters

*user*   \_In\_\
Type: XblUserHandle

그래프를 생성할 XBOX Live 사용자입니다.

*extraLevelDetail*   \_In\_\
Type: [XblSocialManagerExtraDetailLevel](/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel)

이 사용자의 서비스 호출에 사용해야 하는 세부 정보 수준입니다.

*queue*   \_In\_opt\_\
Type: XTaskQueueHandle

이 사용자의 백그라운드 작업에 사용할 큐입니다(선택 사항). 참고: 이 큐에 XTaskQueueDispatchMode::Immediate를 사용하면 성능이 저하될 수 있습니다.

### Return value

Type: HRESULT

이 API 작업에 대한 HRESULT 반환 코드입니다.

## Remarks

로컬 사용자가 추가된 결과는 [XblSocialManagerDoWork](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork)의 [XblSocialManagerEventType](/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype)::LocalUserAdded 이벤트를 통해 트리거됩니다. 지정된 로컬 사용자의 소셜 그래프를 제거하려면 [XblSocialManagerRemoveLocalUser](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerremovelocaluser)를 호출합니다.

## Requirements

**Header:** social\_manager\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[social\_manager\_c](/reference/live/xsapi-c/social_manager_c/social_manager_c_members)


## Related topics

- [XblSocialManagerGetLocalUserCount](/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusercount.md)
- [XblSocialManagerExtraDetailLevel](/ko/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel.md)
- [XblSocialManagerRemoveLocalUser](/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerremovelocaluser.md)
- [XblSocialManagerGetLocalUsers](/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusers.md)
- [Social Manager 개요](/ko/services/xbox-services/community/social-manager/live-social-manager-overview.md)
