The first step in getting all of a user's private key nicknames is to read all of the names. The second step is to retrieve each of the names.
To read the private key nicknames for a user, call NPKIReadAllNickNames.
After a successful return, use the accessor function NPKINickName to retrieve each of nicknames.
For a sample implementation of this task, see ReadUserNicknames.