Token for user being viewed
I have solved the problem this way.
(1) I created a View to show desired user information.
(2) Then, I added a 'Contextual filter' to point to the user being viewed. (with the options &quot;User ID &gt; Provide default value &gt; Type: User ID from route context&quot;)
(3) Then, I selected 'REWRITE RESULTS' and &quot;Override the output of this field with custom text&quot;. As a result replacement tokens become available for user fields. I used that for formatting the Information according to the requirement.
Then, I placed this View block at the desired place.