Solved

Logged on users API via J++

Posted on 2004-03-22
5
142 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
Comment Utility
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
Comment Utility
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
Comment Utility
should be able to do so use in java use runtime.execute
"cmd.exe /c net.exe .... >myfile.txt"
Bhagyesh Trivedi
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now