Using Security in CORBA Applications
HRESULT get_credentials(
[in] Security_CredentialType cred_type,
[in,out,optional] VARIANT* exceptionInfo,
[out,retval] DISecurityLevel2_Credentials** returnValue);
Function get_credentials(cred_type As Security_CredentialType,
[exceptionInfo]) As DISecurityLevel2_Credentials
This call can be used only to get SecInvocationCredentials
; otherwise, get_credentials
raises CORBA::BAD_PARAM
. If no credentials are available, get_credentials
raises CORBA::BAD_INV_ORDER
.
A DISecurityLevel2_Credentials
object for the active credentials in the client application only.