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

# XStoreCanLicenseStatus

> XStoreCanLicenseStatus

# XStoreCanLicenseStatus

Indicates if a user would be able to license a package.

## Syntax

```cpp theme={null}
enum class XStoreCanLicenseStatus  : uint32_t  
{  
    NotLicensableToUser = 0,  
    Licensable = 1,  
    LicenseActionNotApplicableToProduct = 2,
}  
```

## Constants

| Constant                            | Description                                 |
| ----------------------------------- | ------------------------------------------- |
| NotLicensableToUser                 | The package is not licensable to the user.  |
| Licensable                          | The package is licensable to the user.      |
| LicenseActionNotApplicableToProduct | The product is not individually licensable. |

## Remarks

This enum denotes whether or not a package can be licensed as a result of a call to [XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync) or [XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync). The licensable status can be found as a result of their respective return functions.  **XStoreCanLicenseStatus** is a member of the [XStoreCanAcquireLicenseResult](/reference/system/xstore/structs/xstorecanacquirelicenseresult) struct.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreCanAcquireLicenseResult](/reference/system/xstore/structs/xstorecanacquirelicenseresult)\
[XStoreCanAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageasync)\
[XStoreCanAcquireLicenseForStoreIdAsync](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidasync)


## Related topics

- [XStoreCanAcquireLicenseResult](/reference/system/xstore/structs/xstorecanacquirelicenseresult.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [Granting players access to add-on content](/publishing/xstore-commerce/xstore-granting-access.md)
- [XStoreCanAcquireLicenseForStoreIdResult](/reference/system/xstore/functions/xstorecanacquirelicenseforstoreidresult.md)
- [XStoreCanAcquireLicenseForPackageResult](/reference/system/xstore/functions/xstorecanacquirelicenseforpackageresult.md)
