The InitializeViaSessionName method initializes the client application's StdSessionLogin component for the login session to FileNet Workplace and instructs the component to create and use a separate, non-unified login for the client application. If you would prefer that the StdSessionLogin component share a single, unified login with all other FileNet Office Add-Ins, initialize the component using the InitializeUnifiedLogin method.
void spIStdSessionLogin->InitializeViaSessionName(_bstr_t bstrSessionName);
bstrSessionName
- [in] Required _bstr_t, which specifies
the name of the session / client application that is initializing the StdSessionLogin
component. ...
// Initialize the StdSessionLogin component to create
// a separate, non-unified login for the client application
// by specifying the session / client application name.
std::cout << "Initializing the StdSessionLogin component to use NON-unified login..." << std::endl;
_bstr_t sessionName(_T("WordPerfect"));
spIStdSessionLogin->InitializeViaSessionName(sessionName);
...