Function sapnwrfc::binding::RfcGetPartnerSSOTicket
[−]
[src]
pub unsafe extern "C" fn RfcGetPartnerSSOTicket(
rfcHandle: RFC_CONNECTION_HANDLE,
ssoTicket: *mut SAP_UC,
length: *mut c_uint,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Gets the partner's SSO2 ticket, if any.
Can be used only with a server connection inside the implementation of a server function.
\in rfcHandle RFC server connection \out *ssoTicket Pre-allocated buffer, which will receive the backend user's SSO2 ticket (signed user information in base64 format) \inout *length Needs to be filled with the buffer length of ssoTicket. The return value will be the string length of the returned ticket (if buffer was large enough) or the required buffer size (if RFC_BUFFER_TOO_SMALL). \out *errorInfo More error details in case there is no ticket. \return RFC_RC \warning