N
N
nik0laevvlad2021-09-15 17:59:30
ASP.NET
nik0laevvlad, 2021-09-15 17:59:30

How to display the number of site users who are authorized through a specific social network in ASP.NET?

There is an ASP.NET web application with built-in authorization, where you can add authorization through social networks (facebook, google, VK).
I need to build a diagram of how many users are registered through facebook, how many through google, and so on, and for this I need to somehow display at least the number of these people.
Tell me how can this be done?

UPD: I noticed that there is a Facebook line in the "AspNetUserLogins" table, how can I get information from it?
UPD2: I know that I need to take information from the table, my question is how to do it so that it is on the site

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
oleg_ods, 2021-09-15
@oleg_ods

Can be solved with SQL.
In the table AspNetUserLogins You do grouping on LoginProvider and you consider kol-in records in each group.

V
Vladimir Korotenko, 2021-09-15
@firedragon

see https: //hamidmosalla.com/2016/02/23/how-to-show-cu
...
core needs a bit of redoing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question