The UserLogon Function

With the user logon function, you can check all logged on users, and assign several tree connections to a user:

int _cdecl UserLogon(void *pUserData,const char *pUser)

Parameters

pUserData

A pointer the logged on user data. With the SmbInsertTreeEntry function you can add several tree connections to the user.

pUser

Is the name of the logged on user.

return value

Value

Meaning
TRUE the user logon is correct
FALSE the user logon has failed

Here is a diagram which shows the dependencies of the callback functions.


Introduction
The SMB daemon
The NMB daemon
The CheckTree Function
The UserLogon Function
The GetPassword Function 
The SmbInsertTreeEntry Function 
The SmbInfo Function 
OS-Independency