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

# XUserIsStoreUser

> XUserIsStoreUser

# XUserIsStoreUser

XUser MSA가 Microsoft Store에 로그인된 MSA와 동일한지 확인합니다.

## 구문

```cpp theme={null}
bool XUserIsStoreUser(  
         XUserHandle user
)  
```

### 매개변수

*user*   \_In\_opt\_\
형식: XUserHandle

사용자 핸들입니다.

### 반환값

형식: bool

콘솔에서는 항상 true를 반환합니다. PC에서는 XUser의 MSA가 Microsoft Store에 로그인된 MSA와 동일한 경우에만 true를 반환합니다. PC에서 Microsoft Store에 아무도 로그인되어 있지 않거나, XUser 및 Microsoft Store에 서로 다른 두 MSA가 로그인되어 있는 경우 false를 반환합니다.

## 설명

이 함수를 올바르게 사용하는 방법에 대한 자세한 내용은
[Handling mismatched store account scenarios on PC](/publishing/xstore-commerce/xstore-pc)를 참조하십시오.

## 요구 사항

**헤더:** XUser.h

**라이브러리:** xgameruntime.lib

**지원되는 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

## 개념 문서

* [Handling mismatched store account scenarios on PC](/publishing/xstore-commerce/xstore-pc)

## 함께 보기

[XUser](/reference/system/xuser/xuser_members)

[Handling mismatched store account scenarios on PC](/publishing/xstore-commerce/xstore-pc)


## Related topics

- [PC의 XStore — DRM, 라이선스 토큰, 샌드박스](/ko/publishing/xstore-commerce/xstore-pc.md)
- [PC에서 스토어 계정 불일치 시나리오 처리](/ko/publishing/xstore-commerce/xstore-mismatched-accounts.md)
- [XUser](/ko/reference/system/xuser/xuser_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [User Store ID 키 갱신](/ko/publishing/xstore-commerce/xstore-renew-userstoreid.md)
