The page been moved to
https://blog.ajaymatharu.com/set-item-level-permission-in-sharepoint-through-coding/