[core]  [oils]  [libraries]  [C++ messages]  [coding guidelines] [up to overview ]

mGetUserAuthentication (in msg_client)

Last updated:


Syntax

#include <msg/client/mGetUserAuthentication.h>
mGetUserAuthentication ();


mGetUserAuthentication

This will get hold of the user identification. It is handled by the client and usually it means to ask the user for it, but there might be other ways.


Example

   try 
          { mGetUserAuthentication m;
            m.Send();
            cout << "User:   " << m.user << endl;
            cout << "Passwd: " << m.password << endl;
          }
   catch(exception& ex)
          { cerr << "exception: " << ex.what() << endl;
          }


This file is part of Project Mnemonic.