क्या कोई वैकल्पिक तरीका है जो सभी मानकों को अंतर्निहित करता है? या कोई अन्य लाभ।बेनामी प्रोफ़ाइल माइग्रेट करने का सबसे अच्छा तरीका
MSDN से:
public void Profile_OnMigrateAnonymous(object sender, ProfileMigrateEventArgs args)
{
ProfileCommon anonymousProfile = Profile.GetProfile(args.AnonymousID);
Profile.ZipCode = anonymousProfile.ZipCode;
Profile.CityAndState = anonymousProfile.CityAndState;
Profile.StockSymbols = anonymousProfile.StockSymbols;
////////
// Delete the anonymous profile. If the anonymous ID is not
// needed in the rest of the site, remove the anonymous cookie.
ProfileManager.DeleteProfile(args.AnonymousID);
AnonymousIdentificationModule.ClearAnonymousIdentifier();
// Delete the user row that was created for the anonymous user.
Membership.DeleteUser(args.AnonymousID, true);
}
या यह सबसे अच्छा/एक ही रास्ता है?
क्या यह गुणों के समूह भी लेगा? –