[DUG] Terminal Server

Edward Koryagin ed_iv2001 at yahoo.co.nz
Wed May 3 17:23:59 NZST 2006


...If Admin doesn't set max number logins for
account...
--- Laurence Bevan <Laurence at master.co.nz> wrote:

> The answer is yes - you can logon as many times as
> you like on a Windows network with the same
> login. If you're logging in through Terminal Server
> there is a session name which will be unique.
> On a Windows network, the computer name/login name
> combination will be unique.
> 
> Laurence Bevan
> 
> 
> ----- Original Message -----
> From: John Bird
> To:  "'staff'" <staff at belding.co.nz>,       "'NZ
> Borland Developers Group - Delphi List'" 
> <delphi at ns3.123.co.nz>
> Sent:  Wed, 3 May 2006 14:31:14 +1200
> Subject: RE: [DUG] Terminal Server
> 
> Aha - Now I am confused!
> 
> Can the same login name be used on a Windows network
> from 2 different
> screens?
> 
> I have now been given two answers - yes and no from
> two people who I was
> sure knew the answer until now!
> 
> Incidentally this code works to detect if the
> program is running in a
> RDP/Terminal Server session, I tested it to make
> sure it is compatible with
> all of Windows 95/98/XP/2003 TS.
> 
> function xfIsRemoteSession: Boolean;
> const
>   sm_RemoteSession = $1000; { from WinUser.h }
> begin
>   Result := (GetSystemMetrics(sm_RemoteSession) <>
> 0);
> end;
> 
> John
> 
> -----Original Message-----
> From: staff [mailto:staff at belding.co.nz] 
> Sent: Wednesday, 3 May 2006 1:41 p.m.
> To: johnkbird at paradise.net.nz; NZ Borland Developers
> Group - Delphi List
> Subject: Re: [DUG] Terminal Server
> 
> 
> Hello John
> 
> I thought a Windows login name was unique. The
> domain logged into requires, 
> as far as I know, a unique login name. Win 2003
> server will not accept a 
> login name that is not unique. I am using the
> Windows login name to identify
> 
> users in a Delphi Firebird apps.
> 
> Regards
> Russell
> 
> 
> ----- Original Message ----- 
> From: "John Bird" <johnkbird at paradise.net.nz>
> To: "'NZ Borland Developers Group - Delphi List'"
> <delphi at ns3.123.co.nz>
> Sent: Tuesday, May 02, 2006 5:03 PM
> Subject: [DUG] Terminal Server
> 
> 
> > Terminal Server:
> >
> > For tracking users (not necessarily for
> licencing), but for log files, 
> > working out who did what, what are the best
> variables to identify 
> > individual users on a TS system?
> >
> > I tend to use environment variables, I guess the
> best is to use a 
> > combination of SESSIONNAME and USERNAME
> >
> > (USERNAME (Windows login name) is not necessarily
> unique as I 
> > understand)
> >
> > (COMPUTERNAME is just the server in this case).
> >
> > How do others distinguish users on a TS system?
> > (I submitted this question again with the correct
> subject to make it
> > clearer)
> >
> > John
> >
> >
> > _______________________________________________
> > Delphi mailing list
> > Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> > 
> 
> 
> 
> 
> __________ NOD32 1.1461 (20060329) Information
> __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 
> 
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 
> > _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
> 


Edward Koryagin

Send instant messages to your online friends http://au.messenger.yahoo.com 


More information about the Delphi mailing list