IAppIntSession::Logout

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

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