• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Logged on users API via J++

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
dmines
Asked:
dmines
  • 2
1 Solution
 
bhagyeshtCommented:
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
 
dminesAuthor Commented:
Already thought of that one but i really need to do this from within my program.  Is this possible?
0
 
bhagyeshtCommented:
should be able to do so use in java use runtime.execute
"cmd.exe /c net.exe .... >myfile.txt"
Bhagyesh Trivedi
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now