username, user name

Use "username" in written text.

If "user name" appears as 2 words in the UI, write "user name" as 2 words in the documentation to match.