How to Get the Variable of Profile in Hotspot User

This one is not working:

:local speed [/ip hotspot user get [find name=“$username”] profile];