ISessionLogin::Initialize

CAUTION Customers should only use the InitializeUnifiedLogin or InitializeViaSessionName methods of the IStdSessionLogin interface in new development, as well as replace existing implementations of the Initialize method with either of these two new methods. The following information describes the Initialize method as it was defined in FileNet P8 3.0.0 and is provided for informational purposes only. FileNet does not support development with the Initialize method in FileNet P8 3.5.0 or later.

The Initialize method initializes the client application's StdSessionLogin component for the login session to FileNet Workplace.

void spISessionLogin->Initialize(_bstr_t bstrApplicationName,
                                 _bstr_t bstrApplicationID);
Parameters
bstrApplicationName - [in] Required _bstr_t, which specifies the name of the client application that is initializing the StdSessionLogin component.
bstrApplicationID - [in] Required _bstr_t, which specifies the unique ID of the client application that is initializing the StdSessionLogin component.
Results
If the Initialize method successfully initializes the StdSessionLogin component, the method returns an HRESULT value of S_OK; otherwise it returns E_INVALIDARG.
Sample

For a demonstration of how to use the IStdSessionLogin interface in FileNet P8 3.5.0 or later, see these examples.