Hello, I follow the instructions for this article:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/enabling single sign-on for asp.net applications in enterprise portal 6.article
but when I test the application I get the message "user not authenticated", the cookie is valid, but I can't obtain the user id with the User.Identity object.
Any idea about this I only need to obtain the logon user id. (I'm not using the PDK for .net)
Regards
Finally I can get the user logon ID with this code
string cookieString = Request.Cookies["MYSAPSSO2"].Value;
cookieString = HttpUtility.UrlDecode(cookieString);
MySapSso2Ticket ticket = new MySapSso2Ticket("verify.pse", cookieString);
MySAPSso2Identity objUsr = new MySAPSso2Identity(ticket, cookieString);
Response.Write objUser.Name;
I'll appreciate your comments if exists another way to do this.
Regards
Add a comment