HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)
CPI-C Calls
Extract_Security_User_ID (cmesui or cmecsu)
Chapter 3 181
Extract_Security_User_ID (cmesui or cmecsu)
The Extract_Security_User_ID call returns the user ID being used in a
specified conversation.
For Windows
This call is named Extract_Conversation_Security_User_ID, with the
pseudonym cmecsu, for compatibility with the Windows CPI-C interface.
End of Section Function Call
void cmesui (
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
);
For Windows For Windows systems, replace cmesui with cmecsu.
End of Section Function Call for Java CPI-C
public native void cmesui (
byte[] conversation_ID,
byte[] security_user_ID,
CPICLength security_user_ID_length,
CPICReturnCode return_code
);
Supplied Parameters
The supplied parameter is:
conversation_ID
This is the identifier for the conversation. The value of
this parameter is returned by the
Initialize_Conversation, Initialize_For_Incoming, or
Accept_Conversation call.
Returned Parameters
After the verb executes, SNAplus2 returns the following parameters: