Class SecurityUtilities
java.lang.Object
com.inductiveautomation.factorypmi.application.script.builtin.SecurityUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
login
public 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
-
logout
public void logout() -
lockScreen
public void lockScreen() -
lockScreen
public void lockScreen(boolean obscure) -
unlockScreen
public void unlockScreen() -
isScreenLocked
public boolean isScreenLocked() -
exit
Deprecated.Moved to SystemUtilitiesExits the FPMI Client.
-