Adding user first name in menu (navigation bar)

I’m trying to have a message in the menu that says: Hi first_name
It used to work fine in the past, but something might have changed in the last update
This code worked fine until a month ago:
[s2Get constant=“S2MEMBER_CURRENT_USER_FIRST_NAME” /]

Is there an alternative code?