Remove User Certificate (QSYRMVUC, QsyRemoveUserCertificate) API


  Required Parameter Group for QSYRMVUC:


  Default Public Authority: *USE

  Threadsafe: Yes



  Syntax for QsyRemoveUserCertificate:
 #include <qsydigid.h>

 void QsyRemoveUserCertificate(
                    void    *User_profile,
                    char    *Certificate,
                    int      Type,
                    int      Length_of_certificate,
                    void    *Error_code);

  Service Program: QSYDIGID

  Default Public Authority: *USE

  Threadsafe: Yes

The Remove User Certificate (OPM, QSYRMVUC; ILE, QsyRemoveUserCertificate) API removes a certificate from an IBM i user profile.


Authorities and Locks

User Profile Authority
If the user profile specified is not the current user for the job, the caller of this API must have *SECADM special authority and *USE and *OBJMGT authorities to the specified user profile.
If an EIM identifier is specified for the user profile name, the caller of this API must have *SECADM and *ALLOBJ special authority

Required Parameter Group

User profile
INPUT; CHAR(*)

The name of the user profile or the Enterprise Identity Mapping (EIM) identifier that holds the certificate. The following are valid selections:


Certificate
INPUT; CHAR(*)

The certificate or handle of the certificate that identifies the entire certificate that is to be removed. This is not a text string.

Type
INPUT; BINARY(4)

The type that identifies the contents in the certificate field.

The possible types are:


Length of certificate
INPUT; BINARY(4)

The length of the certificate or handle of the certificate that was specified.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V4R2

[ Back to top | Security APIs | APIs by category ]