Accessing Runtime Context
In this example, the function provides runtime context like user ID, user email, user name, etc.
Code: /lessons/Access_Runtime_Context/AccessRuntimeContext.java
Steps
Create a new function called AccessRuntimeContext.java.
Call getUserId(), getIdOfUser(), getEmail(), getFullName() function.
Log the response using LogApi.info().
Return successful response.
Last updated