if (pEvent.User.Name == "TEST")
{
pEvent.User.SetPrivateData("dt0", 7);
}
else
{
pEvent.User.SetPrivateData("dt0", 0);
}
pMe.PmPanel.Methods.SettingData("dt0", 7);
pContext.User.SetPrivateData(sId, vVal);
if (pMe.PmPanel.Methods.GettingData("dt0") == 7)
{
// ...
}
return pContext.User.GetPrivateData(sId);