---
url: /statelake/scripting-reference/classes/license-class/license.licenseid.md
---

# License.LicenseId

Returns the unique **License Id** encoded into this license.

This is unique to the license, but each account could have multiple licenses.

**Declaration**: property LicenseId: string

An example of its use follows.

```pascal
procedure OnMapEvent(var Value:Variant);
begin
 //The LicenseID as a string
  Value := License.LicenseId;
end;
```

The following code will display the **LicenseID**.

```pascal
procedure ScriptEvent(var Value:Variant);
var
  WhoIt : string;
begin
  WhoIt := License.LicenseId;
  LogInfo('The LicenseID is '+WhoIt);
  LogInfo('');
end;
```
