When I use the UserDataSource.LoadForCriteria method to get the users, it just takes forever and then times out.
Im trying it like this:
Code: Select all
UserCollection users=UserDataSource.LoadForCriteria("CreateDate > ' "+fromDate.ToString("M/d/y")+" ' AND CreateDate < ' "+toDate.ToString("M/d/y")+" ' ");
foreach (User _user in users){
We have 1100 users in the db.