...If Admin doesn't set max number logins for account... --- Laurence Bevan <[EMAIL PROTECTED]> 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'" <[EMAIL PROTECTED]>, "'NZ > Borland Developers Group - Delphi List'" > <[email protected]> > 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:[EMAIL PROTECTED] > Sent: Wednesday, 3 May 2006 1:41 p.m. > To: [EMAIL PROTECTED]; 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" <[EMAIL PROTECTED]> > To: "'NZ Borland Developers Group - Delphi List'" > <[email protected]> > 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 > > [email protected] > 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 > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi > > > _______________________________________________ > Delphi mailing list > [email protected] > http://ns3.123.co.nz/mailman/listinfo/delphi > Edward Koryagin Send instant messages to your online friends http://au.messenger.yahoo.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
