Skip to Content

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

Restrict User from portal use per rejection of disclaimer

Hi,

We are trying to put up a disclaimer for a portal user right after he logs in by a web dynpro java pop up through which he accepts or rejects and accordingly he is logged out of portal.

Tried logging out user via -

1 - Portal Eventing -

WDPortalEventing.fire ("urn:com.sapportals.portal:user","logoff","");

Does not work.

2 - http://host:port/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.LogOutComponent

Does not work.

3 - WDClientUser.forceLogoffClientUser("http://google.com");

This displays an error page and does not log off portal.

None of the above approaches, logged me out.

I have downloaded the MastHead PAR file in NWDS , but don't know how to access the backend rfc or portal custom table from this PAR file to record the user entry.

I am open for Ideas to prevent users from seeing /using portal after logging on and rejecting disclaimer ( including closing the portal browser window if i have to ).

Thanks,

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