Distinguishing User Sessions - Terminal Server v Client

IrishGiriIrishGiri Member Posts: 61
Hi all,

Is there a way in code of finding out if a user accesses Navision from Terminal Server? I need a way of distinguishing users who access Navision from Terminal Server from those who access Navision through local client access because I wish to automatically save a file to the My Documents folder on their local machine.

If a user access Navision from TS how canwe handle this?

Thanx,
Paul.

Comments

  • IrishGiriIrishGiri Member Posts: 61
    Mmmm, maybe using Virtual Table 2000000009 and property Host Name should do the trick :-k :-k :-k :-k
  • krikikriki Member, Moderator Posts: 9,110
    In sessions is a field : Host name. This is the computername. All the users that enter via terminal services will have the name of a terminal server. You just need a list of the names of the terminal servers and confront the hostname with this list.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • IrishGiriIrishGiri Member Posts: 61
    In fact, in the end we used OSVERSION to distinguish between users because they are different OSs and this works now. Thanks...
Sign In or Register to comment.