* You are viewing the archive for the ‘Search’ Category

Getting random user profiles

Getting random user profiles is quite an easy task, but there is not much to be found on the internet about it except for some less than ideal solutions in my opinion.

My ideal solution would be something that is scalable and takes into account the security of the User Profile Application.

The solutions that I found all shared the same approach:

  • Open the User Profile Application Service
  • Get the count of user profiles
  • Get X numbers between 0 and the number of user profiles
  • Get those user profiles

I do have some issues with this which I would like to point out:

The count of the number … Continue Reading