Using Security in CORBA Applications
HRESULT set_credentials(
[in] Security_CredentialType cred_type,
[in] DISecurityLevel2_Credentials* cred,
[in,out,optional] VARIANT* exceptionInfo);
Sub set_credentials(cred_type As Security_CredentialType,
cred As DISecurityLevel2_Credentials,
[exceptionInfo])
This method can be used only to set SecInvocationCredentials
; otherwise, -set_credentials
raises CORBA::BAD_PARAM
. The credentials must have been obtained from a previous call to DISecurityLevel2_Current.get_credentials
.