Class SecurityUtilities
java.lang.Object
com.inductiveautomation.factorypmi.application.script.builtin.SecurityUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
_tempReOpen
(WindowStateCollection state) void
exit()
Deprecated.Moved to SystemUtilitiesboolean
void
void
lockScreen
(boolean obscure) static org.python.core.PyTuple
Issues a login call.void
logout()
boolean
switchUser
(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.
-