on 10-04-2007 7:15 AM
Hi,
I have a webdynpro application in which on click off a button, I need to logoff the user from Portal and redirect the user to logon page.
Please suggest how this can be achieved
regards,
Priyanka
I created a url iview with the url for portal logon and used the portal navigation to navigate to this url anf log off.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
create a button and create an action exit.
in exit method write the following code
public void onActionexit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionexit(ServerEvent)
com.sap.tc.webdynpro.services.sal.um.api.WDClientUser.forceLogoffClientUser(null);
//@@end
}
if you want to close window
Create a Link To Url and
give reference = /portal_logoff
Regards
Abhijith YS
null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use a code like this on click of the link:
WDClientUser.forceLogOffClientUser("http://<url string>");
This code log-off user only from WD application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use
WDClientUser.forceLogoffClientUser(String URL);
Ashu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.