Table of Content
HAL Forum
function Boolean ClientMode (
)
Description:
Returns true if Enterprise is running as client in a client-server scheme.
global
updating function Boolean OnLogout(string user)
BEGIN
  Boolean res;
  string 255 userstr;

  if (PresenceWasSuccessful) then begin
    userstr = user;
    if (blank(userstr)) then begin
      userstr = CurrentUser;
    end;
    if (UserActive) and ((SingleUserMode) or (ClientMode)) then begin
      RegisterAtPresenceServer(user,0,1);
      res = OnLogoutRemote(user);
    end;
  end;
  OnLogout = true;
  return;  
end;
Related topics:
««