cancel
Showing results for 
Search instead for 
Did you mean: 

username migration

jego
Star Contributor
Star Contributor
Hi,
we want to rename all users (the userName property of type cmSmiley Tongueerson) of an alfresco system due to an active directory change (complete new active directory).

What is the best approach to do that? API-driven or directly in database?
We have identified following fields where the username has to be updated:
- site memberships
- ownerships of documents and folder
- group memberships
- user specific acls
- favorites
- datalist assignees
- comments on documents
- version history
- audit trail
- workflow history
- workflow tasks
- custom property fields in custom types

Are there any other things we should take care of?

I see that there is a post of Axel Faust (https://forums.alfresco.com/forum/general/non-technical-alfresco-discussion/usernames-migration-0516...) which also contains a database approach. Is there anybody who has already done this in a project and can point me to some challenges?

Thanks,
Jens Goldhammer
Alfresco Certified Engineer
1 REPLY 1

mrogers
Star Contributor
Star Contributor
There are folks who have done it.   AFAIK Alfresco support has some scripts that may help for some instances.  But in general changing the userid is not supported.