This is an old revision of the document!
Use:
~usernumber~
Required parameter: None
This returns the numeric ID of the currently logged in user