🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.borland-delphi
2 messages
2 total messages Started by At Thu, 08 May 2003 14:47
Domain or local?
#2364
Author: At
Date: Thu, 08 May 2003 14:47
4 lines
1413 bytes
Hi!

How can I detect that a user is logged on local computer, or in a domain?
Under Win98, and WinXP
Re: Domain or local?
#2365
Author: Hartmut Steffin
Date: Sat, 10 May 2003 10:33
8 lines
1711 bytes
At wrote:
> Hi!
> 
> How can I detect that a user is logged on local computer, or in a domain?
> Under Win98, and WinXP
> 
> 
i only can think of a method, that is not too safe, if the user is under control of his environment variables. but it might be ok for your case: look at the environment ("set" on the commandline, GetEnv, EnvCount, EnvStr ... in pascal). you find variables telling you everything (even the bdc that let you login).
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads