Error 15023 in SQL Server

Hello everyone. In this article, I will provide information about error 15023 in SQL Server.
When you restore from backup in SQL Server, when you restore to a different server, you may get such an error because the user record does not match.
To fix the user and login mapping, you need to open a query window in SQL Server Management Studio and run the following code on the relevant database.
USE [IslemYapacaginizVeritabaniAdi]
EXEC sp_change_users_login 'Auto_Fix','VeritabaniKullaniciAdi'
Good luck to everyone in business and life.