Skip to Content

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

forceLogoffClientUser with URL specified does not seem to work

Hi WebDyn Pro's.

I am running EP6 SP14.

In my application, the implementation behind the Logoff button is using api WDClientUser.forceLogoffClientUser(myURL) to force a logoff from application and portal. The variable myURL is "http://portal.mycompany.com".

My goal is logoff the user from "everything" (webdynpro application and portal) and simply display the portal login page to the user.

I've tried numerous URLs strings without success. Regardless of the string provided, the application returns the following error when running inside the portal:

<b>200 OK

Application was terminated!

Details: No details available.</b>

I've even tried

WDClientUser.forceLogoffClientUser(null). This too returns the same error.

When running the application outside the portal, I do get the generic WebDynpro exit message.

For these portal users, I've hidden the LogOff link at the top right of the framework. The UME redirect URL is not appropriate for these users.

Thanks for any assistance!

Kevin

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