cancel
Showing results for 
Search instead for 
Did you mean: 

Logoff from Portal

Former Member
0 Kudos

Hello,

how do I have to implement a method to logoff from portal and navigate to the logon-screen of the portal?

In the doc of the method WDClientUser.forceLogoffClientUser() I found this note:

Note: This method must not be used by applications running as embedded IViews within the portal. In this case, the logoff button of the portal must be used to trigger a logoff.

Well, how can I logoff from portal?

Best regards,

Armin

Accepted Solutions (0)

Answers (2)

Answers (2)

chintan_virani
Active Contributor
0 Kudos

Armin,

In following thread check post by Anish : /thread/63826 [original link is broken]

So in your case you can redirect to login page by writing some JSP code.

Chintan

Former Member
0 Kudos

The documentation of the forceLogoffUser method (or logout method) in the IUser class does not have such a note.

(NW2004s, SP12).

Good luck

Former Member
0 Kudos

Hi,

I'm using SAP NetWeaver 7.1 Composition Environment and you can see [here|https://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/services/sal/um/api/WDClientUser.html] that this note exist.

Regards,

Armin

Former Member
0 Kudos

I´m not on CE yet.

I was referring to the IUser class in com.sap.security.api, a different SAP package.

Don´t know if it exists in CE however.

Good luck, Roelof