Deleting Users from Umbraco

0
46

Removing users from Umbraco is not possible via interface if they have already taken any action.

Here is the script to completely remove a user and all his traces from Umbraco:

delete from [dbo].[umbracoUser2UserGroup]
where userId = @0

delete from [dbo].[umbracoUser2NodeNotify]
where userId = @0

delete from [dbo].[umbracoUserLogin]
where userId = @0

delete from [dbo].[umbracoUserStartNode]
where userId = @0

delete from [dbo].[umbracoLog]
where userId = @0

delete from [dbo].[umbracoUser]
where id = @0

But be warned, this is irreversible!

Thanks,
Mário

LEAVE A REPLY

Please enter your comment!
Please enter your name here