I have a system whereby an administrator enters in the IT credentials for users who use the system. Included in this is the Username for that person. However if she makes a mistake, I am not sure how she can correct it. I am using Forms Authentication, MVC and Entity Framework 4.0. I am using the aspnetdb database supplied by Microsoft with the User credentials.
One possible solution is to delete and then create the user with the new user开发者_运维百科name. But the problem then is that I lose the password.
Should I create a model of the database in EF so I can modify the database, or should I try something else like stored procedures?
I think the easiest will be to create a stored procedure that will update just the UserName field in aspnet_Users table
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论