1. A computer-implemented method comprising: receiving presence data of a plurality of users in a space comprised of one or more zones; computing for each user of the plurality of users a value of a target metric in a zone based on the presence data, the target metric defining a measure of user presence; and assigning a presence-related role to a user with respect to the zone, the presence-related role being comprised in a set of one or more presence-related roles describing categories of spatiotemporal occupancy relation between the user and the zone, wherein said assigning comprises applying a mapping function on the value, the mapping function maps between values of the target metric and the one or more presence-related roles, the mapping function is affected by analytics of the presence data, wherein the categories of spatiotemporal occupancy relation are ordinal.