62,268
社区成员
发帖
与我相关
我的任务
分享
void Profile_OnMigrateAnonymous(object sender, ProfileMigrateEventArgs args)
{
ProfileCommon anonymousProfile = Profile.GetProfile(args.AnonymousID);
if (!string.IsNullOrEmpty(anonymousProfile.照片))
{
Profile.照片 = anonymousProfile.照片;
Profile.Save();
}
ProfileManager.DeleteProfile(args.AnonymousID);
bool i = Membership.DeleteUser(args.AnonymousID);
AnonymousIdentificationModule.ClearAnonymousIdentifier();
}