Apply Service for every User in Icinga2

Thank you for your answer @dgoetz !
I have added () to

use (u)

and the configuration was verified.
However, I don’t see any services created, and after adding log() to the loop nothing gets printed.
logging get_objects(User) doesn’t return anything either.
I guess you can’t use that function outside of an apply rule because of scope\context?
I added this loop to a .conf file, not inside anything.

Edit:
After looking online (Getting a list of hosts inside config) I understand we can’t get objects natively from the DSL because Icinga runs that before the objects are being created. Any ideas how I can run this logic after the Users have been created?