NPKIGetServerUTCTime

Obtains the Universal Time Coordinated (UTC) time for a given server (formerly NWPKIGetServerUTCTime).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIGetServerUTCTime(
       const NPKIContext     context,
       const unicode        *serverDN,
       pnuint32              time);   
    

Parameters

context
(IN) Specifies the NPKI context for the request.
serverDN
(IN) Specifies the FDN of the eDirectory server whose time you want. This must be a valid eDirectory server in the current tree.
time
(OUT) Points to the server’s current time UTC time, represented as the number of seconds since 00:00:00 UTC January 1, 1970.

Return Values

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

See Also