BOOL fOK;
int  iSession;
char szBuffer\[PASSWORD_LONG_LENGTH + 1\];
 
/* Call dialog to get password */
GetPasword (szBuffer);
iSession = LceGetSessionId();
fOK = LceUseUserId(iSession, "QPGMR");
   fOK = LceUsePassword(iSession, szBuffer);
... 
fOK = LceOpenSession(iSession);
 
[ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! |../../index.htm#lansa/srvgudba_0645.htm]