Are Windows Logins also Users ???
ecarmody
Member Posts: 53
Hi all,
This is my secong attempt to find out what I am missing.
We use SQL server and windows auth accounts. I can successfully create/add new accounts via Security - Windows Logins, and assign roles. User can then log on and run Navision application as needed.
Now what about the 2000000002 "User" table. Right now it is empty. The Windows Login table is populated as expected with all the logins I've added.
Is the "User" table suppose to also get automatically updated each time I add a new Windows Login? When I run Synchronize, nothing happens.
We have existing forms/code that do lookups to the User table. These lookups do not find the new users (windows logins) I've been adding. Are the existing forms/code the reference the User table support to be changed to reference the Windows Login table?
Appreciate your comments.
Cheers,
Eric
This is my secong attempt to find out what I am missing.
We use SQL server and windows auth accounts. I can successfully create/add new accounts via Security - Windows Logins, and assign roles. User can then log on and run Navision application as needed.
Now what about the 2000000002 "User" table. Right now it is empty. The Windows Login table is populated as expected with all the logins I've added.
Is the "User" table suppose to also get automatically updated each time I add a new Windows Login? When I run Synchronize, nothing happens.
We have existing forms/code that do lookups to the User table. These lookups do not find the new users (windows logins) I've been adding. Are the existing forms/code the reference the User table support to be changed to reference the Windows Login table?
Appreciate your comments.
Cheers,
Eric
0
Comments
-
Hello
Take a look at user setup table.
On Validate and onlookup you'll see
LoginMgt.ValidateUserID("User ID");
LoginMgt.LookupUserID("User ID");
This codeunit combines the users and shows them in one screen.0 -
My "91 User Setup" table does not have any code in its events.
The "2000000002 User" is the one that is referenced by our forms/code, and it does not get populated with the windows logins.0 -
which Version of Attain do you use :?:
In Table 91 these code are not exist ?User ID - OnValidate() LoginMgt.ValidateUserID("User ID"); User ID - OnLookup() LoginMgt.LookupUserID("User ID");Do you make it right, it works too!0 -
We have version US 1.10 (3.60) as shown in About box.
When I go into Design mode for table 91 User Setup and then into the C/AL editor, there is no code in any of the fields for the OnValidate or OnLookup events.
Is that not right?
For you people who have SQL windows logins, what form or table do you do a lookup aginst for User Id field?0 -
That's an old version wow.
Well I suggest to download the 5.0 W1 db from mibuso. Get CU 418
Login Management
and use it in your db. I'm sure it was already in 3.6 version as well so no licensing issue will need to be resolved.0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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
