Showing User Service Name

Mauddib
Member Posts: 269
Hi guys,
I am informed that in Nav2013 that it is possible not only to see the server that a user is connected to but also the name of the service (node) they are connected to also. So if a Server (Navision1 for example) has three middle tiers (Node1, Node2, Node3) you can quickly see which one the user is connected to.
I would like to do this in Nav2009 Sp1. Has anyone implemented a solution for this before that can give me some pointers? The best solution I can think of so far is to, on log in perhaps in codeunit 1, to pull this information out of the ClientSetting.config file where it is stored at log in (Along with Server URL history) and store it somewhere in the Navision System.
Not an elegant solution so if anyone can throw out something prettier, please do!
I am informed that in Nav2013 that it is possible not only to see the server that a user is connected to but also the name of the service (node) they are connected to also. So if a Server (Navision1 for example) has three middle tiers (Node1, Node2, Node3) you can quickly see which one the user is connected to.
I would like to do this in Nav2009 Sp1. Has anyone implemented a solution for this before that can give me some pointers? The best solution I can think of so far is to, on log in perhaps in codeunit 1, to pull this information out of the ClientSetting.config file where it is stored at log in (Along with Server URL history) and store it somewhere in the Navision System.
Not an elegant solution so if anyone can throw out something prettier, please do!
0
Comments
-
Hi
I would make a new sql-view/linked table with data from the below SQL statement and use information.select s.[Server Computer Name], s.[Server Instance Name], s.[Database Name], s.[Login Datetime], s.[Client Computer Name], s.[User ID] --,s.* from [Active Session] s where s.[Client Type]=0
This SQL view may contain inaccurate information...Regards
Christer in Stockholm, Sweden0 -
Nice I will try that one! If it works then I will buy you a drink at Nav Tech days.
If you are not AT nav tech days.... I will drink it for you too
In the end I did a cheap trick to get what I wanted, before I read your post...... I simply gave the directory that each Service Tier is installed in a useful name.... and then used the installation path call already built into CAL to return me that path name. Using this I was able to work out what node each user was connected to.
Cheap and dirty, but it works.0 -
nice tips, should be moved to that forum.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions