1

Could you please share, how we can check, if who has deleted user account and how we can restore the deleted user account in Sitecore, without writing any code.

Thanks.

2 Answers 2

1

As I checked in my Sitecore solution is when we create a user it inserts an entry in the [aspnet_Users] table in core database. And when you delete it, it removes the entry in the database.

So I think there is no way to restore the deleted user account as far as you have an old backup of your database.

But you may try by recover delete rows in SQL table may be you can get something by not sure.

Another thing is the history who deleted the user and yes you can get the details in your log files. When I deleted a user it added an entry in my log file like this.

28676 15:05:38 INFO  AUDIT (sitecore\Admin): Delete user: sitecore\testuser

using this code

Log.Audit(owner, "Delete user: {0}", userName);

So check your logs and you will find the related information .

Hope this helps.

-1

As far as I know, there is NO such provision available out of the box.

I know you are not looking for custom code but since it's not possible without code, I am sharing a useful series of article.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.