Switch off or stop Nav 2009 wiht C/AL Code
toscaleton
Member Posts: 14
I want to know if it´s possible stop or switch off Nav 2009 with code, i want to forbbide to some users to connect with his username out of the office, i put a control and if they connect i want to close or stop or switch of nav.
0
Comments
-
Should be on the forum somewhere; you can use sendkeys and send Alt+F4.0
-
Are you looking to only restrict access to NAV or all system access from out of the office for these users?There are no bugs - only undocumented features.0
-
Excuse me can you explain me?, i don´t know how to use sendkeys. I think i control the access in the code unit 1, you have other idea?, thanks.Mark Brummel wrote:Should be on the forum somewhere; you can use sendkeys and send Alt+F4.0 -
I want to restrict access only to Nav,bbrown wrote:Are you looking to only restrict access to NAV or all system access from out of the office for these users?0 -
viewtopic.php?f=5&t=26375&hilit=sendkeys
Use search my friend.
For the RTC I think you need to put this in the RoleCenter pages, not CU1, but that's just guessing, have not tested that.0 -
Hi,
If you are on SQL, you can look at using the stored procedure: dbo.sp_$ndo$loginproc.
This stored procedure gets executed before CU1.
We've created a little utility where we can block access, track logins from what computer and what client, and we can also show login messages using this procedure.
However I have not been able to test this thoroughly on the RTC yet.
I hope this helps,
Regards,
WillyFostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.0 -
-
toscaleton wrote:
Excuse me can you explain me?, i don´t know how to use sendkeys. I think i control the access in the code unit 1, you have other idea?, thanks.Mark Brummel wrote:Should be on the forum somewhere; you can use sendkeys and send Alt+F4.
Please what type of variable is WSHELL, i don´t now. Thanks0 -
automation with typ of windows scripting host something something0
-
-
FDickschat wrote:
Same hereMark Brummel wrote:Share please...
http://mibuso.com/blogs/mohana/2011/07/20/login-stored-procedure-on-the-sql-server-option/0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

