Share via


JmgGroupApprove::checkAutorized Method

Checks whether a user can view worker registrations that belong to the specified approval group.

Syntax

client server public static boolean checkAutorized(
    JmgGroupApproveId approveId, 
    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

Throws an error, if 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

JmgGroupApprove Table