I need to get the User Claim inside DbContext to change the connection string. basically i followed the steps of this post Dynamically change connection string in Asp.Net Co