Additional checking when user login

chen_wan
Member Posts: 34
Hi all,
I am using Navision 4.0 SQL Option. Is there any way I can put additional checking / validation when user login into Navision. When the validation failed, I want to prevent user from logging in to Navision.
Regards,
Chen
I am using Navision 4.0 SQL Option. Is there any way I can put additional checking / validation when user login into Navision. When the validation failed, I want to prevent user from logging in to Navision.
Regards,
Chen
0
Comments
-
Hi,
I haven't tested it but you could try adding functionality in cu1 Application Management and in the routine LogInStart and raise an error in case you don't validate.
I have used it for setting custom defaults for users.
Merry Christmas0 -
Hi Arhontis,
I have tried to put Error at the LoginStart. It doesn't work. Even after the Error has been raised, the system still login sucessful. Once I clicked OK on the OK button on the Error message box, the system still log in0 -
:-k
I have tested it and you are right. I can't think of anything else right now, I will make some tests and I will notify you if I found something.0 -
You can try this, untested, code to exit Navision:
CREATE(WindowsShell); WindowsShell.SendKeys('%{F4}'); CLEAR(WindowsShell);
with WindowsShell being a variable of type Automation '"Windows Script Host Object Model'.WshShell"No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
I have additional validation in CU 1 - Application Management in the CompanyOpen function. If the user doesn't validate I call an Error. This prevents logging in. (Ver 3.7, Native). :shock:Don't blame me. It's the hardware.
j0
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