JmgGroupCalc::checkAutorized Method
Checks whether a user can view worker registrations that belong to the specified calculation group.
Syntax
client server public static boolean checkAutorized(
JmgGroupCalcId calcId,
boolean throwError,
FormRun _caller)
Run On
Called
Parameters
- calcId
Type: JmgGroupCalcId Extended Data Type
The ID of the calculation group.
- throwError
Type: boolean
true if an error should be thrown if the user is not authorized correctly; otherwise, false.
- _caller
Type: FormRun Class
A reference to the calling form.
Return Value
Type: boolean
true if the user is authorized correctly; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The user is not authorized correctly. |
Remarks
If a password is set on the approval group, then the user will be prompted for a password.