|
|
|
|
The Set_Conversation_Security_User_ID call is issued by the invoking program to specify the user ID required to access to the invoked program. It overrides the initial user ID from the side information specified by the Initialize_Conversation call.
This call cannot be issued after the Allocate call has been issued.
This call is not valid if the conversation security type is
void cmscsu (
unsigned char CM_PTR conversation_ID,
unsigned char CM_PTR security_user_ID,
CM_INT32 CM_PTR security_user_ID_length,
CM_RETURN_CODE CM_PTR return_code
);
public native void cmscsu (
byte[] conversation_ID,
byte[] security_user_ID
CPICLength security_user_ID_length,
CPICReturnCode return_code
);
The supplied parameters are:
This is the identifier for the conversation. The value of this parameter is returned by the Initialize_Conversation call.
This specifies the user ID required to access the partner program. This parameter is a character string of 1-10 characters (Solaris systems), or 1-8 characters (Windows systems), and is case-sensitive.
The following characters are allowed:
Uppercase and lowercase letters
Numerals 0-9
Special characters $, #, @, and . (period)
This specifies the length of security_user_ID. This range for this value is 1-10 characters (Solaris systems), or 1-8 characters (Windows systems). If the length is 0 (zero), the security_user_ID parameter is ignored; this is equivalent to setting security_user_ID to a null string.
After the verb executes, SNAP-IX returns the following parameters:
Possible values are:
The call executed successfully.
One of the following has occurred:
The value specified by conversation_ID is not valid.
The value specified by security_user_ID_length is out of range.
One of the following has occurred:
The conversation is not in Initialize state.
The conversation's security type is set to
For an explanation of this return code, see Common Return Codes.
The conversation must be in Initialize state.
There is no state change.
If the return code is not CM_OK, the security_user_ID and security_user_ID_length conversation characteristics are unchanged.
A user ID that is not valid is not detected until the allocation request, generated by the Allocate call, is sent to the partner LU. The error is returned to the invoking program on a subsequent call.
|
|
|
|
|