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

# XblSocialManagerGetLocalUserCount

> XblSocialManagerGetLocalUserCount

# XblSocialManagerGetLocalUserCount

SocialManager によって現在追跡されているローカル ユーザーの数を取得します。

## 構文

```cpp theme={null}
size_t XblSocialManagerGetLocalUserCount(  
)  
```

### パラメーター

### 戻り値

型: size\_t

SocialManager によって現在追跡されているローカル ユーザーの数。

## 解説

追跡対象としてローカル ユーザーを追加するには、[XblSocialManagerAddLocalUser](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanageraddlocaluser.md) を呼び出します。追跡対象からローカル ユーザーを削除するには、[XblSocialManagerRemoveLocalUser](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerremovelocaluser.md) を呼び出します。この関数は、[XblSocialManagerGetLocalUsers](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusers.md) を呼び出す前に呼び出す必要があります。

## 要件

**ヘッダー:** social\_manager\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [XblSocialManagerGetLocalUsers](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusers.md)
- [social_manager_c](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/social_manager_c_members.md)
- [XblSocialManagerUserGroupGetLocalUser](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetlocaluser.md)
- [XblSocialManagerRemoveLocalUser](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerremovelocaluser.md)
- [XblSocialManagerAddLocalUser](https://docs.xbox.com/ja-jp/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanageraddlocaluser.md)
