Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the worker can make registrations in the system.
Syntax
public boolean checkAutorized(boolean throwError, [boolean addToInfolog])
Run On
Called
Parameters
- throwError
Type: boolean
A Boolean value that indicates whether an error must be thrown if the worker is not authorized.
- addToInfolog
Type: boolean
A Boolean value that indicates whether the error must be shown in the Infolog.
Return Value
Type: boolean
true if the worker is authorized correctly; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The worker is not authorized correctly. |
Remarks
If the system is configured to use passwords, the user is prompted to input a password.