Oh ok. Ours is setup that if you try and login when a session is open it
closes that session and opens a new one.

Didn't realize there was any other option. 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Laurence Bevan
Sent: Wednesday, 3 May 2006 2:53 p.m.
To: [email protected]
Subject: RE: [DUG] Terminal Server

Yes, if your Active Directory policy allows it, you can login to multiple
Terminal Server sessions
with the same login. We do it at our Council sites where they have a
training suite and everyone
logs on with the same login. 

Laurence Bevan


----- Original Message -----
From: James Sugrue
To:  "'NZ Borland Developers Group - Delphi List'" <[email protected]>
Sent:  Wed, 3 May 2006 14:46:12 +1200
Subject: RE: [DUG] Terminal Server

Now I'm confused what the original question was, but you can't log in to
more than one Terminal Server (2003) session with the same login. I.E if you
login to a TS box that you have already logged into, it will close that
session and open a new one.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Laurence Bevan
Sent: Wednesday, 3 May 2006 2:38 p.m.
To: [email protected]
Subject: Re: [DUG] Terminal Server

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


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to