...
where the <name> attribute is the Key mapped within your PersonDirectory.xml or personDirs.xml (see manual chapter on user attributes). The <user-attribute> element should be at the same level as the <portlet> element.
Then from within your Portlet code you can access the values like this
...