Remove Profile Tokens (QSYRMVPT) API


  Required Parameter Group:


  Optional Parameter:


  Default Public Authority: *USE

  Threadsafe: Yes

The Remove Profile Tokens (QSYRMVPT) API removes all profile tokens, removes all profile tokens for a specific user profile, or removes a specific profile token. When a profile token is removed, it is no longer valid for use with other profile token APIs.

This API can be used to remove all profile tokens on the system. This may be useful if the maximum number of profile tokens have been generated for the system (message CPF4AAA was sent or a PS-M security audit entry was sent). The most likely reason for this to happen is that someone is attempting to lock up parts of the system by generating multitudes of profile tokens. This API provides an alternative to restarting the system. After calling this API, the administrator may want to analyze the audit log to determine who is attempting to lock up the system.

This API can be used to remove all profile tokens that have been generated for a user profile. You may want to remove all profile tokens for a user profile if security information has changed for the user profile (for example, the password or group list).


Authorities and Locks

Authority, if *ALL is specified
*ALLOBJ and *SECADM
Authority, if specific user is specified
*SECADM
User profile authority, if specific user is specified
*OBJMGT and *USE

Required Parameter Group

Remove option
INPUT; CHAR(10)

Whether all profile tokens are being removed, all profile tokens for a given user are being removed, or a specific profile token is being removed.

One of the following values may be specified:


Error code
I/O; CHAR(*)

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


Optional Parameter Group

Profile token
INPUT; CHAR(32)

The profile token to be removed. This parameter is required only if *PRFTKN is specified in the Remove option parameter. If the Remove option is not *PRFTKN and this parameter is specified, then this parameter must contain *NONE.


Error Messages



API introduced: V4R4

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