Subject Re: Remote users
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 31 Oct 2025 10:22:50 -0700
Newsgroups dbase.getting-started

On 10/30/2025 8:22 PM, Steve wrote:
> Have more clients remoting in from home to run a Plus app. Anyone know of a way to tell programmatically whether a particular user is running remotely? I could ask them when they log in, but was hoping there might be another way.
>

You may want to look at the dBASE Users' Function Library Project (dUFLP
-- if you don't already have it, see the signature block below this
response).

In "miscapi.prg" you can find various functions that access the Windows
API, and can get various information, such as:

GetSystemName()

As well as others. I am not sure if this one function will do what you
need, but this is a place to start.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm