Why's Delete not supported in ASP.Net Identity

后端 未结 2 608
迷失自我
迷失自我 2020-12-20 13:23

I was tinkering with the new auth features that recently RTM\'d with Visual Studio 2013.

While implementing a custom UserStore, I was having a look at the decompiled

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-20 13:55

    Delete User account

    In 1.0, if you had to delete a User, you could not do it through the UserManager. They have now fixed it with 2.0:

    var result = await UserManager.DeleteAsync(user);
    

    See http://blogs.msdn.com/b/webdev/archive/2014/03/20/test-announcing-rtm-of-asp-net-identity-2-0-0.aspx

提交回复
热议问题