DeleteForUser Method in Class SMS_ClientPfxCertificate

The DeleteForUse Windows Management Instrumentation (WMI) class method, in Configuration Manager, deletes a certificate for a user.

Syntax

 sint32 DeleteForUser(  
     String ProfileName,  
     String UserName,  
     String Thumbprint  
);  

Parameters

ProfileName
Data type: String

Qualifiers: [in]

The profile name.

UserName
Data type: String

Qualifiers: [in]

The user name.

Thumbprint
Data type: String

Qualifiers: [in]

The thumbprint for the certificate.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For more information about handling returned errors, see About Configuration Manager Errors.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See Also

SMS_ClientPfxCertificate Server WMI Class