XSEJ gate, CHECK_CALLER_IN_ROLE function
Checks whether the user associated with the current transaction is defined to be in the named role.
Input Parameters
- BEAN_NAME
- The bean name for which the check is being made.
- CODED_ROLE_NAME
- The name of the coded role.
- CORBASERVER
- The CORBASERVER for which the check is being made.
- APPLICATION_NAME
- Optional Parameter
- An application name that qualifies the bean name.
- LOGMESSAGE
- Optional Parameter
- Specifes whether access failures are to be logged to the CSCS TD queue and the MVS System Management Facility (SMF). The default is YES.
- Values for the parameter are:
- NO
- YES
Output Parameters
- REASON
- The values for the parameter are:
- ABEND
- ESM_INACTIVE
- LOOP
- NOT_IN_ROLE
- NOTAUTH
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- ESM_RESPONSE
- Optional Parameter
- The external security manager's response to the call.
- FAILING_USERID
- Optional Parameter
- The user ID for which the check failed.
- FAILING_USERID_LENGTH
- Optional Parameter
- The length of the user ID for which the check failed.
- SAF_RESPONSE
- Optional Parameter
- The system authorization facility's response to the call.