Users and devices mode - ami actions

Hi there

I can’t find any ami action for login a user to device.
Is it possible without manually entering the feature code? I would like to do it programmatically

Thanks in advance

User and Devices mode is unsupported, but you can see what is happening behind the scenes if you check the two contexts:

macro-user-logon
macro-user-logoff

There are some AstDB changes but the bulk of the action takes place with the AGI.