cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the details of actions performed by a user in portal

Former Member
0 Kudos

Hi Gurus,

Please help me to solve this..

how to get the details of actions performed by a logged in user

in a portal. portal contains only KM ivews. how to achieve this

thru webdynpro

Thanks & Regards

Vipin

Accepted Solutions (1)

Accepted Solutions (1)

PradeepBondla
Active Contributor
0 Kudos

Answers (4)

Answers (4)

former_member192434
Active Contributor
0 Kudos
siddharth_jain
Active Contributor
0 Kudos

Hi,

Portal Provides an inBuilt Activity monitoring Tool through Activity Reports you can check it, if it satisfy your requirement:

http://help.sap.com/saphelp_nw70/helpdata/EN/fb/144120ea5b4e9c9385d493a578d6c9/frameset.htm

Regards,

Siddharth

Former Member
0 Kudos
former_member192434
Active Contributor
0 Kudos

Hi Vipin,

This code snipet show that how to find the login user to the portal

public void LoginUser( )

{

//@@begin LoginUser()

String LogonID;

try{

// create an user object from the current user

IWDClientUser wdUser=WDClientUser.getCurrentUser();

IUser user=wdUser.getSAPUser();

//LogonID=user.getUniqueName();

wdComponentAPI.getMessageManager().reportSuccess(user.getFirstName()" "user.getLastName().toUpperCase());

//wdComponentAPI.getMessageManager().reportSuccess(LogonID.toUpperCase());

wdComponentAPI.getMessageManager().reportSuccess("Logon User ID : "+wdUser.getClientUserID().toUpperCase());

}catch(Exception e){

e.printStackTrace();

}

//@@end

}

Note: You also need to add"com.sap.security.2.0.0" jar file into your java build path liberary.

Thanks

Anup

Edited by: Anup Bharti on Oct 13, 2008 2:18 PM

Edited by: Anup Bharti on Oct 13, 2008 2:29 PM

Former Member
0 Kudos

Hi Anup & vishal,

Thanks for reply,

But my requirement is to get the actions performed by that user in last week.

Thanks & Regards,

Vipin