IAppIntSession::Login

The Login method invokes the login action as dictated by the StdSessionLogin component behavior. The client application may invoke the Login method through the IAppIntSession interface, however, this method is generally used by commands to automatically perform login operations as needed during command execution.

void spIAppIntSession->Login();
Parameters
None.
Results
Returns the HRESULT value indicating whether the login action was successful.
Sample
The following is a fragment from the complete example for the IAppIntSession interface.
   ...
   std::cout << "User is NOT currently Logged In." << std::endl;
std::cout << "Attempting Login..." << std::endl;
spIAppIntSession->Login();
...