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.
Validates the current user against the expected access rights.
Syntax
public boolean validateUser(AccessRight expectedAccessRight)
Run On
Called
Parameters
- expectedAccessRight
Type: AccessRight Enumeration
The expected access rights.
Return Value
Type: boolean
true if validation succeeds; otherwise, false.
Remarks
System Admin and IT Admin roles should return true; otherwise, we check the current record's user IDs to match the current user ID.