Your is code is correct but I guess your current user Anonymous (?) is not allowed to access names.nsf.
Log in as a named user on browser and then it should work.
You can shorten your code to:
@DbColumn("names.nsf", "($VIMPeopleAndGroups)", 2)
if you don't use XPiNC as the code is running on server and therefore you don't need to specify a server name as parameter.
But, consider to use xe:namePicker
with xe:dominoNABNamePicker
instead.