1 | Result | Output | Bin(4) |
2 | Profile token | Input | Char(32) |
3 | Error Code | I/O | Char(*) |
#include <qsyptkn.h> void QsyChkPrfTknUser (int *Result, unsigned char *Profile_token, void *Error_code);Service Program: QSYPTKN
The Check Profile Token User (OPM, QSYCHKTU; ILE, QsyChkPrfTknUser) API verifies that the user profile associated with the token is the same as the current user profile in the thread. No other attributes associated with the token are compared with the attributes of the current thread.
None
The results from the check. If 1 is returned, the profile associated with the token is the same as the current user profile in the thread. If 0 is returned, the profile associated with the token is different from the current user profile in the thread.
The profile token to be checked.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF2225 E | Not able to allocate internal system object. |
CPF2274 E | Profile token is not valid. |
CPF3C90 E | Literal value cannot be changed. |
CPF3CF1 E | Error code parameter not valid. |
CPF3C36 E | Number of parameters, &, entered for this API was not valid. |
CPF9872 E | Program or service program & in library &2 ended. Reason code &3. |
Top | Security APIs | APIs by category |