NPKIReadAllNickNames

Reads the certificate nicknames for userDN and stores them in context-specific data values (formerly NWPKIReadAllNickNames).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIReadAllNickNames(
       const NPKIContext    context, 
       const unicode       *userDN,
       pnuint32             numberOfNickNames);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
userDN
(IN) Specifies the FDN of the user for which you want to read certificate names. userDN must be a valid User object in the current tree.
numberOfNickNames
(OUT) Returns the number of nicknames of certificates for the specified user.

Return Values

Returns 0 if successful, or an eDirectory or PKI error code if not successful.

Remarks

Calls to NPKINickName can be made to retrieve the nicknames. For sample code, see ReadUserNicknames.

See Also

NPKIFindUserCertificates, NPKINickName