[ |../../index.htm#lansa/srvgudba_0590.htm]
You are here:

6.75.2 C Example

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