Why's Delete not supported in ASP.Net Identity

后端 未结 2 607
迷失自我
迷失自我 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:34

    We just ran out of time to complete it for 1.0, it will be added in Update 1 as part of the rest of the admin related apis like an IQueryable Users property on UserManager. (It's already implemented in nightly 1.1-alpha1 packages)

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题