Remove All Profile Tokens For User (QsyRemoveAllPrfTknsForUser) API


  Syntax for QsyRemoveAllPrfTknsForUser:
 #include <qsyptkn.h>

 void QsyRemoveAllPrfTknsForUser
        (char           *User_profile,  
         void           *Error_code);

  Service Program: QSYPTKN

  Default Public Authority: *USE

  Threadsafe: Yes

The Remove All Profile Tokens For User (QsyRemoveAllPrfTknsForUser) API provides an interface to remove all profile tokens that have been generated for a specific 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

API Public Authority
*USE
Special authority required
*SECADM
User profile authority
*OBJMGT and *USE

Required Parameter Group

User profile
INPUT; CHAR(10)

The name of the user profile for which to remove profile tokens.

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

Message ID Error Message Text
CPF2204 E User profile &1 not found.
CPF222E E &1 special authority is required.
CPF2217 E Not authorized to user profile &1.
CPF2225 E Not able to allocate internal system object.
CPF3CF1 E Error code parameter not valid.
CPF3C90 E Literal value cannot be changed.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.

API introduced: V4R2

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