Find Certificate User (QSYFNDCU,QsyFindCertificateUser) API


Required Parameter Group for QSYFNDCU:


  Default Public Authority: *USE

  Threadsafe: Yes



  Syntax for QsyFindCertificateUser:
 #include <qsydigid.h>

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

  Service Program: QSYDIGID

  Default Public Authority: *USE

  Threadsafe: Yes

The Find Certificate User (OPM, QSYFNDCU; ILE, QsyFindCertificateUser) API finds the user that is associated with a certificate.


Authorities and Locks

None.


Required Parameter Group

Certificate
INPUT; CHAR(*)

The certificate or certificate handle that is used to find the name of the user profile that has the certificate or certificate handle associated with it. This is not a text string.

Type
INPUT; BINARY(4)

The type of the certificate.

The possible types are:


Length of certificate
INPUT; BINARY(4)

The length of the certificate. The type parameter indicates what this length refers to.

User profile
OUTPUT; CHAR(10)

The name of the user profile that is associated with the certificate. This field remains blank if the certificate is not found.

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 ]