# Get Gateway Licensing Info with script?

**URL:** <https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [May 26, 2022, 2:13pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068 "2022-05-26T14:13:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmahaf](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaf/32/23492_2.png) [@tmahaf](https://forum.inductiveautomation.com/u/tmahaf)\
**Post date:** [May 26, 2022, 2:13pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068/1 "2022-05-26T14:13:21Z")

</div>

Is there any utility I can use to grab licensing info like the license number, and the licensed modules for a license? Seems like the only way is to manually look on each gateway?

Thanks

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 26, 2022, 2:14pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068/2 "2022-05-26T14:14:54Z")

</div>

What is your end goal with this information?

---

<div class="post-metadata">

**Author:** ![tmahaf](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaf/32/23492_2.png) [@tmahaf](https://forum.inductiveautomation.com/u/tmahaf)\
**Post date:** [May 26, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068/3 "2022-05-26T14:17:13Z")

</div>

We have a large amount of licenses, we’d like to build some tools to help manage which ones are being used for what.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 26, 2022, 2:18pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068/4 "2022-05-26T14:18:24Z")

</div>

The SDK for add-ons has APIs that can be used. You’ll have to figure out the unsupported stuff, but you can start here:

[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/com/inductiveautomation/ignition/gateway/model/GatewayContext.html#getLicenseManager()](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.1/com/inductiveautomation/ignition/gateway/model/GatewayContext.html#getLicenseManager())

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 26, 2022, 2:26pm UTC](https://forum.inductiveautomation.com/t/get-gateway-licensing-info-with-script/60068/5 "2022-05-26T14:26:46Z")

</div>

Also, I’d be remiss if I didn’t mention EAM.  
[https://docs.inductiveautomation.com/display/DOC81/Enterprise+Administration+Module](https://docs.inductiveautomation.com/display/DOC81/Enterprise+Administration+Module)
