_User.getId() Suggest EditsFunction to get user ID of the currently logged-in user. Example Usage TWIG{% set userID = _User.getId() %} Response Example Integer | Boolean 13 Response Description ConditionResponseUser is a registered and has been already logged in13User has not been logged inFALSEUpdated almost 5 years ago Table of Contents Example Usage Response Example Response Description