3.9 SET_USER_CONSENT Procedure

This procedure marks the user as having consented to the use of AI.

If done once either by the user via the UI or via this API, the user is no longer prompted to consent when interacting with AI.

Syntax

APEX_AI.SET_USER_CONSENT (
    p_user_name         IN  VARCHAR2,
    p_application_id    IN  NUMBER )

Parameters

Parameter Description
p_user_name The user name.
p_application_id The application ID.

Example

BEGIN
  apex_ai.set_user_consent(
    p_user_name      => 'STIGER',
    p_application_id => 100);
END;