Compartilhar via


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

  • throwError
    Type: boolean
    true if an error should be thrown if the user is not authorized correctly; otherwise, false.

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.

See Also

Reference

JmgGroupCalc Table