16.2 CURRENT_PAGE_IS_PUBLIC Function
This function checks whether the current page's authentication attribute is set to Page Is Public and returns a Boolean value (TRUE or FALSE)
Syntax
APEX_CUSTOM_AUTH.CURRENT_PAGE_IS_PUBLIC
RETURN BOOLEAN;
Example
The following example checks whether the current page in an application is public.
DECLARE
L_VAL BOOLEAN;
BEGIN
L_VAL := APEX_CUSTOM_AUTH.CURRENT_PAGE_IS_PUBLIC;
IF L_VAL THEN
htp.p('Page is Public');
ELSE
htp.p('Page is not Public');
END IF;
END;
See Also:
"Editing Page Attributes" in Oracle APEX App Builder User’s Guide.
Parent topic: APEX_CUSTOM_AUTH