Username update not reflected in NAV
njhansen
Member Posts: 37
Background:
NAV2009R2 build 32775 talking to
SQL Server 2009R2
Windows authentication (except one vendor login using database authentication)
Recently, our domain admin changed a user's username in AD because she got married. It still shows as her old username when she logs into NAV (that is, orders she places have her old user as the assigned to, and both the NAV login list and SQL sp_who show the old username in the list of active users).
Her username does not exist in NAV or SQL Server (old username or the new), but rather, she is in a group that is defined in both NAV and SQL Server security. I'm not sure where NAV is getting the old username. I've tried everything I can think of, even the ridiculous ideas:
Synchronized security
Discarded ZUP
Closed/reopened database
Restarted computer
Logged in from computer never previously used
Checked that AD has replicated its changes to all DC's
Where is NAV looking for this information?
NAV2009R2 build 32775 talking to
SQL Server 2009R2
Windows authentication (except one vendor login using database authentication)
Recently, our domain admin changed a user's username in AD because she got married. It still shows as her old username when she logs into NAV (that is, orders she places have her old user as the assigned to, and both the NAV login list and SQL sp_who show the old username in the list of active users).
Her username does not exist in NAV or SQL Server (old username or the new), but rather, she is in a group that is defined in both NAV and SQL Server security. I'm not sure where NAV is getting the old username. I've tried everything I can think of, even the ridiculous ideas:
Synchronized security
Discarded ZUP
Closed/reopened database
Restarted computer
Logged in from computer never previously used
Checked that AD has replicated its changes to all DC's
Where is NAV looking for this information?
0
Answers
-
Have you checked Salesperson code?0
-
What is the SourceExpr property of the control that prints the old name in the report and where does it's value come from?0
-
Yes, her salesperson record has changed.
As best I can tell, anywhere in the system that calls the USERID function returns her old name. For instance, it shows up in the change log, which has in its insert code:IF LogEmployeePortalActivity THEN ChangeLogEntry."User ID" := LogEmployeePortalUser ELSE ChangeLogEntry."User ID" := USERID;
We are not using employee portal at all.
We have since tried removing her (roaming) profile altogether -- still no change.0 -
For no apparent reason, after nearly two months, it suddenly started working. No one fixed it in NAV (at least not on purpose), and the network admins say nothing changed in AD. No patches (OS or NAV).
Marking as solved since the symptoms are gone. The problem is still present in that no one knows what NAV looks at to find this information.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K 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
- 323 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

