Sitecore dms - get all profiles for visitor

337 Views Asked by At

I tried to using 2 ways to get all profiles for visitor after login:

  1. Using Tracker.CurrentVisit to get Profiles
  2. Get visitor using VisitorManager.GetVisitorByExternalUser() then get Profiles (visitor.DataSet.Profiles)

Both of them can't get any profile records. I checked Profiles table on Analytics database: this visitor had some profile record. So how get old profiles of visitor after login.

Thanks.

1

There are 1 best solutions below

0
Viktor On

You have to call the following method visitor.LoadAll();