NPKIGetSASServiceName

Obtains the Secure Authentication Service (SAS) service name of the specified server object (formerly NWPKIGetSASServiceName).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIGetSASServiceName(
       const NPKIContext    context,
       const unicode       *serverDN,
       unicode const      **serviceName);
    

Parameters

context
(IN) Specifies the NPKI context for the request.
serverDN
(IN) Specifies the eDirectory server. This must be a valid eDirectory server in the current tree that has SAS installed.
serviceName
(OUT) Returns the SAS service name.

Return Values

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