VIAVI TestCenter-Automation: How can I force a user off using VIAVI TestCenter Python API?

Knowledge Base - FAQ

VIAVI TestCenter-Automation: How can I force a user off using VIAVI TestCenter Python API?
We can make use of the below API:  stc.perform("attachPorts", portList=[hPortTx , hPortRx], autoConnect = "TRUE", RevokeOwner = "TRUE")