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

# ListUsersEx

> IXtfUserClient::ListUsersEx

# IXtfUserClient::ListUsersEx

현재 이 콘솔과 연결된 모든 사용자의 목록을 반환합니다.

## Syntax

```cpp theme={null}
HRESULT ListUsersEx(  
         XTF_USER_DATA_V2 **ppUserData,  
         UINT32 *pCount  
)  
```

### Parameters

\*\**ppUserData*   \
Type: [XTF\_USER\_DATA\_V2](https://docs.xbox.com/ko/reference/tools/xtf/xtfuser/structures/xtf_user_data_v2.md)

성공적으로 반환되면, 콘솔과 현재 연결된 사용자를 설명하는 [XTF\_USER\_DATA\_V2](https://docs.xbox.com/ko/reference/tools/xtf/xtfuser/structures/xtf_user_data_v2.md) 객체의 배열을 가리킵니다.

\**pCount*   \
Type: UINT32

성공적으로 반환되면, *ppUserData* 배열의 요소 개수입니다.

### Return value

Type: HRESULT

HRESULT 성공 또는 오류 코드.

## Requirements

**Header:** xtfuser.h

**Library:** xtfuser.lib

**Supported platforms:** Windows(XBOX 콘솔 도구용)

## See also

[IXtfUserClient interface](https://docs.xbox.com/ko/reference/tools/xtf/xtfuser/classes/IXtfUserClient/ixtfuserclient-xtfuser-xbox-windows-t.md)


## Related topics

- [IXtfUserClient 인터페이스(인터페이스 목차)](https://docs.xbox.com/ko/reference/tools/xtf/xtfuser/classes/IXtfUserClient/ixtfuserclient-xtfuser-xbox-windows-t.md)
- [XInputSetStateEx](https://docs.xbox.com/ko/reference/input/xinputongameinput/functions/xinputsetstateex.md)
- [XINPUT_VIBRATION_EX](https://docs.xbox.com/ko/reference/input/xinputongameinput/structs/xinput_vibration_ex.md)
- [DeployEx](https://docs.xbox.com/ko/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/methods/ixtfapplicationclient-deployex.md)
- [GAMEPAD_REPORT_EX](https://docs.xbox.com/ko/reference/tools/xtf/xtfinput/structures/gamepad_report_ex.md)
