NPKIDeleteDSObject

Deletes an eDirectory object (formerly NWPKIDeleteDSObject).

Syntax

    #include "npki.h"
    
    NWRCODE NPKIDeleteDSObject(
       const NPKIContext    context,
       const unicode       *objectDN); 
    

Parameters

context
(IN) Specifies the NPKI context for the request.
objectDN
(IN) Specifies the FDN of the eDirectory object to be deleted.

Return Values

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

Remarks

Typically, this function is used only to clean up objects created during a failed create certificate operation.

WARNING:Caution should be used when calling this function because any object can be deleted if the caller has sufficient rights.

See Also

NPKICreateServerCertificate, NPKICreateOrganizationalCA