> For the complete documentation index, see [llms.txt](https://platform-business.gitbook.io/klat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform-business.gitbook.io/klat/unity/user/search.md). Agents can also search and read this documentation through its [MCP server](https://platform-business.gitbook.io/klat/~gitbook/mcp).

# 사용자 조회

사용자를 조회할 수 있습니다.&#x20;

<table data-header-hidden><thead><tr><th width="165.640625">target</th><th width="168.5625">method</th><th>설명</th></tr></thead><tbody><tr><td>타겟 <strong>(target)</strong></td><td>메소드 <strong>(method)</strong></td><td><strong>설명</strong></td></tr><tr><td><pre><code>TPTargetUserID
</code></pre></td><td><pre><code>TPMethodMatch
</code></pre></td><td>User ID 값이 <code>text</code>와 정확히 일치하는 유저를 최대 1명 반환</td></tr><tr><td><pre><code>TPTargetUserID
</code></pre></td><td><pre><code>TPMethodPrefix
</code></pre></td><td>User ID 값이 <code>text</code>로 시작하는 유저를 <code>id</code> 기준으로 오름차순으로 반환</td></tr><tr><td><pre><code>TPTargetUserName
</code></pre></td><td><pre><code>TPMethodMatch
</code></pre></td><td>User Name 값이 <code>text</code>와 정확히 일치하는 유저를 <code>id</code> 기준으로 름차순으로 반환 (동명이인 다수 가능)</td></tr><tr><td><pre><code>TPTargetUserName
</code></pre></td><td><pre><code>TPMethodPrefix
</code></pre></td><td>User Name 값이 <code>text</code>로 시작하는 유저를 <code>id</code> 기준으로 오름차순으로 반환</td></tr></tbody></table>

```c#
public enum TPSearchMethod { TPMethodMatch, TPMethodPrefix }
public enum TPSearchTarget { TPTargetUserID, TPTargetUserName }
```

```objectivec
TalkPlusApi.searchUsers("keyword",
   TPSearchTarget.TPTargetUserName,
   TPSearchMethod.TPMethodPrefix,
   null,
   (List<TPUser> users, bool hasNext) => {

   }, (int statusCode, Exception e) => {

   });
```
