PES_MACRO_CURRENT_USER

PES_MACRO_CURRENT_USER returns the id of the current session user.
SELECT obj_UID FROM PES_Object WHERE obj_CreatedBy = PES_FUNCTION_CURRENT_USER()