Class SecurityUtilities
java.lang.Object
com.inductiveautomation.factorypmi.application.script.builtin.SecurityUtilities
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoid_tempReOpen(WindowStateCollection state) voidexit()Deprecated.Moved to SystemUtilitiesbooleanvoidvoidlockScreen(boolean obscure) static org.python.core.PyTupleIssues a login call.voidlogout()booleanswitchUser(org.python.core.PyObject[] values, String[] keywords) void
- 
Constructor Details- 
SecurityUtilities
 
- 
- 
Method Details- 
loginpublic static org.python.core.PyTuple login(String username, String password) throws GatewayException Issues a login call. If successful, the current session's credentials are switched and the user's roles are returned. If the login fails, an exception is thrown.- Throws:
- GatewayException
 
- 
switchUser
- 
_tempCloseAll
- 
_tempReOpen
- 
logoutpublic void logout()
- 
lockScreenpublic void lockScreen()
- 
lockScreenpublic void lockScreen(boolean obscure) 
- 
unlockScreenpublic void unlockScreen()
- 
isScreenLockedpublic boolean isScreenLocked()
- 
exitDeprecated.Moved to SystemUtilitiesExits the FPMI Client.
 
-