Solved

Logged on users API via J++

Posted on 2004-03-22
5
153 Views
Last Modified: 2013-11-13
Hi Experts,

Can anyone tell me if there is an API that i can use from J++ to find information about users logged on to a network?

I'm a newbie to J++, at a time when it is dying out, and i'm finding it very hard to find any relevant information.  I am aware that there is an API that will do this from C++ but i don't know whether i can use this from my J++ apps e.g. using a wrapper.

If this is possible then how do you do it?  If it's not then any other suggestions would be appreciated.

Also, any pointers to good information sources for J++ developers would be great.

Thanks,
0
Comment
Question by:dmines
  • 2
5 Comments
 
LVL 9

Expert Comment

by:bhagyesht
ID: 10647987
u shoud be able to execute net command from the command prompt and redirect its output to a file and use it
Bhagyesh Trivedi
0
 

Author Comment

by:dmines
ID: 10648150
Already thought of that one but i really need to do this from within my program.  Is this possible?
0
 
LVL 9

Accepted Solution

by:
bhagyesht earned 125 total points
ID: 10648270
should be able to do so use in java use runtime.execute
"cmd.exe /c net.exe .... >myfile.txt"
Bhagyesh Trivedi
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question