cancel
Showing results for 
Search instead for 
Did you mean: 

active logged users using NWDS

Former Member
0 Kudos

Hi Guys,

i am working with nwds. My question is how to get the last 90 days Active Logged users.

i Know about portal Active Logged users iView. I want to get the Active Users using NWDS development

Thanks,

Kishore

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185086
Active Contributor
0 Kudos

HI

Use following method from com.sap.security.api.sda DC

IUserAccount ua;

ua.setLastLogoutDate(arg0)

ua.setLastSuccessfulLogonDate(date);

IUserAccountSearchFilter sf;

Date da = sf.getLoggedInBetweenDate1();

Date db = sf.getLoggedInBetweenDate2();

Date dc = sf.getLogoutBetweenDate1();

Date dd = sf.getLogoutBetweenDate2();

Best Regards

Satish Kumar

Edited by: satish jhariya on Mar 4, 2009 3:08 PM

Former Member
0 Kudos

Hi Satish,

thanks for your response. If it possible please provide me any document step by step.

Thanks&Regards

Kishore.

former_member185086
Active Contributor
0 Kudos

Hi

Have a look on this thread It describe how to play with calender api(Its your case and code sample u will get here),

[Help 1|] and [Hellp2|]

If u understood ? then ok else let us know.

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi satish,

Thanks for your quick replay. Actually my requirement is we are trying to display the active users

with user core id's past 90 days.

More specific i will give you the columns names like:: Report should be:

-


date, LastLoginDate, userid,

-


Once again thanks to u. If u have any document on this send me that, meanwhile i am trying to develop using what ever u sent me last response.

Thanks

Kishore

Former Member
0 Kudos

Hi,

String loggedOnUserID = WDClientUser.getLoggedInClientUser().getClientUserID();

Thsi will give you the logged in users.

Jithin