We have been using a security context in tha past with 15.1.3 to identify an individual as follows
string contactID = ((Asi.Security.AppPrincipal)Asi.Security.AppPrincipal.CurrentPrincipal).AppIdentity.ContactMaster;
I have since loaded the new 15.2 on a server and this context no longer works.
I have found this snippet of code in 15.2
if (Session["User"] != null && Request.Cookies["UserID"] != null)
user = (Asi.iBO.ContentManagement.
sec = new Secure();
userId = sec.Decrypt(Request.Cookies["UserID"].Value.ToString());
So it seems that they have changed this since there is an error when trying to get to the .ContactMaster now.
Is this true or am I looking at this wrong