> ## 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.

# XblSocialManagerUpdateSocialUserGroup

> XblSocialManagerUpdateSocialUserGroup

# XblSocialManagerUpdateSocialUserGroup

지정된 소셜 사용자 그룹을 새 사용자 그룹으로 업데이트합니다.

## Syntax

```cpp theme={null}
HRESULT XblSocialManagerUpdateSocialUserGroup(  
         XblSocialManagerUserGroupHandle group,  
         uint64_t* users,  
         size_t usersCount  
)  
```

### Parameters

*group*   \_In\_\
Type: [XblSocialManagerUserGroupHandle](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/handles/xblsocialmanagerusergrouphandle.md)

업데이트할 xbox 소셜 사용자 그룹입니다.

*users*   \_In\_\
Type: uint64\_t\*

추적할 사용자의 새 목록입니다. 이 목록은 기존 추적 사용자 목록을 대체합니다. 이 목록은 XBL\_SOCIAL\_MANAGER\_MAX\_USERS\_FROM\_LIST를 초과할 수 없습니다.

*usersCount*   \_In\_\
Type: size\_t

users 배열의 항목 수입니다.

### Return value

Type: HRESULT

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

## Remarks

추가되거나 제거된 사용자를 확인하기 위해 차이를 비교합니다. 사용자 그룹이 업데이트된 결과는 [XblSocialManagerDoWork](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork.md)의 [XblSocialManagerEventType](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)::SocialUserGroupUpdated 이벤트를 통해 트리거됩니다. [XblSocialManagerCreateSocialUserGroupFromFilters](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters.md) 또는 [XblSocialManagerCreateSocialUserGroupFromList](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromlist.md)를 호출하여 XblSocialManagerUserGroup을 생성한 후 이 API를 호출합니다. [XblSocialManagerDoWork](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork.md)의 [XblSocialManagerEventType](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)::SocialUserGroupLoaded 이벤트로 반환된 XblSocialManagerUserGroupHandle을 사용해야 합니다.

## Requirements

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

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

## See also

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


## Related topics

- [Social Manager 개요](https://docs.xbox.com/ko/services/xbox-services/community/social-manager/live-social-manager-overview.md)
- [social_manager_c](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerEventType](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype.md)
- [XblSocialManagerDestroySocialUserGroup](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdestroysocialusergroup.md)
- [XblSocialManagerCreateSocialUserGroupFromList](https://docs.xbox.com/ko/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromlist.md)
