Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Using .Net Connector to retrieve user id from MYSAPSSO2

I am trying to get the user id from the MYSAPSSO2 cookie from my .net application that is running through EP6.

So far I have the following code most of it taken from the artical "Enabling Single Sign-On for ASP.NET Applications in Enterprise Portal 6:

SAP.Connector.Destination dest = new SAP.Connector.Destination();

dest.MySAP_SSO2 = HttpUtility.UrlDecode(this.Request.Cookies["MYSAPSSO2"].Value);

string TheCookie;

TheCookie = dest.MySAP_SSO2.ToString();

Response.Write(TheCookie);

My question is, what code do I use from here to get the user id from the jumbled string that is returned?

Former Member
Not what you were looking for? View more on this topic or Ask a question