Question Status

Suggested Answer
Sumit khanduri asked a question on 29 Jul 2014 3:46 AM

Hi everyone,

When we access  NAV  Webclient by different users but it shows the same user every time. 

for e.g.,   if we login with ABC, it accept the credentials but always logged in with XYZ user. and even if we login with PQR it still logged in with XYZ

 

Reply
Suggested Answer
Roberto Stefanetti responded on 31 Jul 2014 12:14 AM

hi,

strange thing .

NAV Server

Are you using the "NETWORK SYSTEM" user to start NAV service?

've mapped an IMPERSONATE user login on NAV Server ex with "Administrator" user ?

if so, the NAV Server always uses that user for login

Check also if you have an impersonate login on IIS and Anonymous login active

IIS Server & Web Client Config

NAV Web Client Configuration

msdn.microsoft.com/.../jj672920(v=nav.71).aspx

How to: Configure User Authentication for the Microsoft Dynamics NAV Web Client

msdn.microsoft.com/.../jj551778(v=nav.71).aspx

>> look at "To enable an authentication method on the website for the Microsoft Dynamics NAV Web client section" section.

------------------------------------------------------------------------------

Roberto Stefanetti,  Dynamics Community Moderator-NAV

My Blog http://blogs.dotnethell.it/DynamicsNAV 

Twitter @robstefane

All my posts are provided "AS IS" with no warranties and confer no rights

Reply
Suggested Answer
Miguel Llorca responded on 31 Jul 2014 1:40 AM

Change your "ClientUserSettings.config" stored at "C:\Users\YourUser\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71"

You can edit with notepad, and change the line: <add key="ClientServicesCredentialType" value="Windows" /> for the line: <add key="ClientServicesCredentialType" value="UserName" />

Save and try again :-)

Good luck!!

Miguel LLorca Gómez

Reply
Suggested Answer
José Castro responded on 31 Jul 2014 2:37 AM

Hi Miguel, I believe he is using webclient so he might not even have NAV installed locally to modify that file hehe :-) 

_________________

José Castro

http://msnav.es

Reply
Suggested Answer
Miguel Llorca responded on 31 Jul 2014 2:57 AM

If you are using webclient, and you have 2013 RTC installed, you need to change it as well :-)

Miguel LLorca Gómez

Reply
Suggested Answer
Mohana Yadav responded on 31 Jul 2014 3:49 AM

You have to change ClientServicesCredentialType in client machine as well customsettings file in Server.

You have to create new users in RTC.

Delete windows users from RTC and check.

Reply
Raokman responded on 29 Jul 2014 11:47 AM

I was wondering the same thing.

We used to be able to track and analyze activity by users: invoices entered by clerk (to better distribute the workload, ensure one person isn't overloaded), dates entered (e.g. Mondays vs Fridays), and time entered (so that clerks, mothers leaving early to be home when their kids get out of school, begin at 5am without supervisors, knew someone could track invoices entered).

 I really don't see how to do that in NAV without weeks of partner programming.

Reply
Sumit khanduri responded on 30 Jul 2014 5:03 AM

Windows Authentication

Reply
Aleksandar Totovic responded on 30 Jul 2014 6:13 AM

Do you try to login on weblient from the same computer with different username?

Reply
Sumit khanduri responded on 30 Jul 2014 7:50 AM

YES , Aleksandar

Reply
Suggested Answer
Roberto Stefanetti responded on 31 Jul 2014 12:14 AM

hi,

strange thing .

NAV Server

Are you using the "NETWORK SYSTEM" user to start NAV service?

've mapped an IMPERSONATE user login on NAV Server ex with "Administrator" user ?

if so, the NAV Server always uses that user for login

Check also if you have an impersonate login on IIS and Anonymous login active

IIS Server & Web Client Config

NAV Web Client Configuration

msdn.microsoft.com/.../jj672920(v=nav.71).aspx

How to: Configure User Authentication for the Microsoft Dynamics NAV Web Client

msdn.microsoft.com/.../jj551778(v=nav.71).aspx

>> look at "To enable an authentication method on the website for the Microsoft Dynamics NAV Web client section" section.

------------------------------------------------------------------------------

Roberto Stefanetti,  Dynamics Community Moderator-NAV

My Blog http://blogs.dotnethell.it/DynamicsNAV 

Twitter @robstefane

All my posts are provided "AS IS" with no warranties and confer no rights

Reply
Suggested Answer
Miguel Llorca responded on 31 Jul 2014 1:40 AM

Change your "ClientUserSettings.config" stored at "C:\Users\YourUser\AppData\Roaming\Microsoft\Microsoft Dynamics NAV\71"

You can edit with notepad, and change the line: <add key="ClientServicesCredentialType" value="Windows" /> for the line: <add key="ClientServicesCredentialType" value="UserName" />

Save and try again :-)

Good luck!!

Miguel LLorca Gómez

Reply
Suggested Answer
José Castro responded on 31 Jul 2014 2:37 AM

Hi Miguel, I believe he is using webclient so he might not even have NAV installed locally to modify that file hehe :-) 

_________________

José Castro

http://msnav.es

Reply
Suggested Answer
Miguel Llorca responded on 31 Jul 2014 2:57 AM

If you are using webclient, and you have 2013 RTC installed, you need to change it as well :-)

Miguel LLorca Gómez

Reply
Sumit khanduri responded on 31 Jul 2014 3:36 AM

Hi miguel i did what you said, but still no matter what credential i give it still shows the default user.

Reply
Sumit khanduri responded on 31 Jul 2014 3:46 AM

hi jose, actually we've a 3-Tier architecture of Nav 2013 R2 so, whenever we hit the url of web client it popups and ask for the credentials,  suppose we give username as sumit and password- 123,  it will login but the current login username at the right hand upper side corner does not match with the credentials we gave, and this is our problem we want that at the time of login the username which we give it should show exactly the same after login.

And one more thing we can access the machine on which nav is installed and can modify the file if necessary.

I hope you understood the question..

Reply
Suggested Answer
Mohana Yadav responded on 31 Jul 2014 3:49 AM

You have to change ClientServicesCredentialType in client machine as well customsettings file in Server.

You have to create new users in RTC.

Delete windows users from RTC and check.

Reply
Sumit khanduri responded on 31 Jul 2014 8:07 AM

answer to your first question-->>using Active Directory account which is a local admin.

answer to your sec question -->>Yes when we do impersonation(enable ASP.Net impersonation in IIS and providing AD user account as APP_Pool login account), it shows the same account name for all users.

Reply