NPKIFindServersInContext

Finds all of the NCP servers in the name context supplied (formerly NWPKIFindServersInContext).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIFindServersInContext(
       const NPKIContext     context,
       const unicode        *nameContextDN,   
       pnuint32              numberOfServers);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
nameContextDN
(IN) Specifies the eDirectory FDN for which you want to find an NCP server. This must be a valid container in the current tree.
numberOfServers
(OUT) Specifies the number of NCP servers in contextDN.

Return Values

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

Remarks

After a successful call, the server names are stored as non-typed relative names (that is, leaf or short names) in data values that can be accessed by calling NPKIServerNames.

See Also