Scripting the Renaming of Users in NAV (New Domain)

nickrobbo89nickrobbo89 Member Posts: 10
edited 2016-08-18 in NAV Three Tier
Hi All,

I am currently investigating ways to script/automate the renaming of User ID's in NAV 2016. I have had a search and not found much, especially for NAV 2016.

In our case, we will be renaming our user ID's from DOMAIN1\USERID to NEWDOMAIN\USERID (this will match their new Windows Username).

My plan was to just find all users (in C-SIDE), and loop through them creating a new User record with the new details and then disabling the old User record.
I am not sure if this will work at all, and when I have tried it in our Staging Environment it has not worked, as the *Windows User Name* field remains the same.

I wanted to avoid doing this in SQL, but I fear this is the only way?? Can anyone advise.

Thanks.

Best Answer

Answers

  • nickrobbo89nickrobbo89 Member Posts: 10
    I just created some C-SIDE code to rename the Records, the issue is I can't test this by logging in to the new domain. My fear is that we will run this code, and then nobody will be able to get into NAV, as they will login to Windows with their new domain\userid but this will not match what is in NAV.

Sign In or Register to comment.