Fetches a user's username or display name.
An instance of the User model to fetch the username for
If true, uses user.displayName(), otherwise, uses user.username()
true
user.displayName()
user.username()
Fetches a user's username or display name.