# Associate your own custom data to a license

The QLM database includes a field called UserData1 which can be used to store any information of your choice and associate it to a license.

#### UserData1 in the main License Keys table&#x20;

The UserData1 field in the main license keys table can be used to associate any custom data of your choice to a license key.&#x20;

We recommend that you store data in a structured form such as in XML or Json so that you can easily store additional information in the future as your requirements evolve.

There are 2 APIs available to set and get user data: [GetUserData](/docs/api-reference/.net-api/qlmlicense/application-methods/getuserdata.md) and [SetUserData](/docs/api-reference/.net-api/qlmlicense/application-methods/setuserdata.md)

Additionally, most of the QLM HTTP APIs allow passing the user data as via the  is\_userdata1 URL argument.

#### UserData1 in the Activation Log table

For license keys that allow multiple activations (number of activations > 1), you can also store your own custom data for each activation of a license. Activation information is stored in a separate table called Activation Log.

We recommend that you store data in a structured form such as in XML or Json so that you can easily store additional information in the future as your requirements evolve.

There are 2 APIs available to set and get user data: [GetUserDataFromActivationLog](/docs/api-reference/.net-api/qlmlicense/application-methods/getuserdatafromactivationlog.md) and [SetUserDataInActivationLog](/docs/api-reference/.net-api/qlmlicense/application-methods/setuserdatainactivationlog.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/how-to/associate-your-own-custom-data-to-a-license.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
