I tried to using 2 ways to get all profiles for visitor after login:
- Using
Tracker.CurrentVisitto get Profiles - 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.
You have to call the following method
visitor.LoadAll();