# Auto approval of EAM agent on EAM Controller

**URL:** <https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011>\
**Category:** Ignition\
**Tags:** scripting, ignition81\
**Created:** [September 13, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011 "2022-09-13T14:33:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [September 13, 2022, 2:33pm UTC](https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011/1 "2022-09-13T14:33:47Z")

</div>

I am trying to auto approve EAM agents on the EAM controller. Can someone tell me what Java classes are used to approve the EAM agent ? also, I can’t seem to find the list of agents connected to the controller in the internal db, where can I find the list of agents and their respective status?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![obober](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/obober/32/67865_2.png) [@obober](https://forum.inductiveautomation.com/u/obober)\
**Post date:** [September 14, 2022, 6:05pm UTC](https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011/2 "2022-09-14T18:05:00Z")

</div>

Here is a list of classes used in 8.1.20: [All Classes](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.20/allclasses.html)  
I tried to search for classes related to EAM agents, but I fell short. Maybe you will have better luck finding the correct class than I did.

Also, have you taken a look at the `REMOTEAGENT` table in the IDB? That one should list “agent approval status and their associated groups”.

---

<div class="post-metadata">

**Author:** ![derrickdvdsn](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@derrickdvdsn](https://forum.inductiveautomation.com/u/derrickdvdsn)\
**Post date:** [September 15, 2022, 3:17pm UTC](https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011/3 "2022-09-15T15:17:07Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/b/fbde2e6c071aa4c935c985820efcf396f8a03a77.png)

Does anyone know what method is called when approve is clicked? And can this functionality be replicated via scripting?

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [September 16, 2022, 3:51am UTC](https://forum.inductiveautomation.com/t/auto-approval-of-eam-agent-on-eam-controller/64011/4 "2022-09-16T03:51:00Z")

</div>

I find EAM mentioned here:  
[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.20/com/inductiveautomation/ignition/gateway/licensing/EdgePlugin.html](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.20/com/inductiveautomation/ignition/gateway/licensing/EdgePlugin.html)

**com.inductiveautomation.ignition.gateway.licensing.EdgePlugin.EAM**

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/f/dfea20ca31e6b733ac3cd65f1626bd27292e8d37.png)

Perhaps this will help you find what you are looking for
