VcsAfterLogout
Return to Introduction  Previous page  Next page
If this method is exported from the DLL, it will be called after a user has successfully logged in.

VcsAfterLogout

procedure VcsAfterLogout( UserID: Cardinal; pName, pComputer: PChar ); stdcall; export;  

This is a notification event only and none of the values passed in can be modified.

Parameters

Name
Description
UserID
The ID of the user
pName
The Name of the user
pComputer
The name of the machine that the user originally logged in from



Example (Delphi)

The following method is called after a User has successfully logged out and simply logs the action to a local text file:

procedure VcsAfterLogout( UserID: Cardinal; pName, pComputer: PChar );  
begin  
  LogIt( Format( '%s - ''%s'' Logged OUT from Computer ''%s''', [ DateTimeToStr( Now ), String( pName ), String( pComputer ) ] ) );  
end;  
 

 


© 1995-2018 MCN Software