Hi Everyone,
I have a query about User Management and I would be grateful for any help.
In a short while, our organisation will be moving to a new Active Directory setup with a new domain name. So users will login to their Windows accounts with the id "newdomain\username". Users in NAV are currently authenticating with their Windows accounts, and their User Name in the User table matches their Windows logon.
I have been tasked with finding an automated way of moving the users to the new domain. I am just wondering if anyone has any experience in this area? My current idea, is to run some C-SIDE code from a codeunit to take copies of all the users & permission sets etc, then insert them with their new User Names. Finally set the status of the original User records to "Disabled".
My issue is then trying to match the Windows Security ID's with the new users, is this as simple as copying them from Active Directory? Or is there a way to achieve this in NAV/Powershell/SQL?