Solved

Logged on users API via J++

Posted on 2004-03-22
5
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

A short article about a problem I had getting the GPS LocationListener working.
This is an explanation of a simple data model to help parse a JSON feed
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

751 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