Verifies whether the GAM User currently logged in has a given permission or not.
GAMRepository.CheckPermission(PermissionName)
Where:
GAMRepository
Is a fixed part of the syntax. Read more at GAM - Repository.
PermissionName
Input parameter corresponding to the permission name. This parameter must be of Character data type based on GAMDescriptionLong.
Type Returned:
GAMBoolean
Event Start
If GAMRepository.CheckPermission("is_gam_administrator")
//OK
Else
GAMExampleNotAuthorized.Link()
Endif
EndEvent
GAM - Permissions