Base solution for your next web application
Open Closed

How to query AbpUserLogins #549


User avatar
0
sayram created

How to query UserLogins? with UserManager? I'm confused.


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    UserManager has GetLoginsAsync method for that.

  • User Avatar
    0
    sayram created

    Yea i saw it. But, what if i want to get UserId with providerKey (in my case to check if visitor registered be4.)

  • User Avatar
    0
    hikalkan created
    Support Team

    If UserManager methods are not enough, then directly use IRepository<UserLogin, long>.