I looked at membership provider documentation and there should be two GetAllUsers method in membership provider (http://msdn.microsoft.com/en-us/library/system.web.security.membership.getallusers ).
But when I look at methods exposed by System.Web.Security (in
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.ApplicationServices.dll )
It only has one method (the one that has paging capability).
Where can I find a method to return all users from database? It seems there is no way to get list of all users or find how many user is in the database.
--Update
looking at System.Web.Security, i found that SqlMembershipProvider is defined as follow:
public class SqlMembershipProvider : System.Web.Security.MembershipProvider
but this class doesn't have any public GetAllUsers() method.
How can I access its base GetAllUsers method?