Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Logged on users API via J++

Posted on 2004-03-22
5
Medium Priority
?
175 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
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…
Progress

705 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