How can I get two titles on one profile for users?

Greetings everyone,
I noticed on some sites there are two tags on profiles giving two different titles according to groups, how is this possible?
Seb
 
Top