/CMSUserMerger

A simple .NET Core tool for merging user accounts in Kentico.

Primary LanguageC#

CMSUserMerger

A dumb application for merging user accounts in Kentico. It generates a SQL script that will update all FK references to a given UserID with a new NewUserID.

The application has been built using .NET Core RC2 just out of curiosity to try out whether my dev environment is set up correctly for writing Core apps.

It uses Dapper - the best object mapper for .NET!

Running the app

  1. Get .NET Core
  2. Adjust config.json - fill in your ConnectionString, OldUserID and NewUserID
  3. Run in VS or from a command line by typing > dotnet CMSUserMerger.dll

Future plans / TODOS

  • Copy over stuff from CMS_User and CMS_UserSettings (make it conditional)
  • Make it a little bit more generic (so that it could be used not only for User objects)

😈 Contributions are welcome!

More about .NET Core