IntelliJ Java IDE
The moose likes Other JSE/JEE APIs and the fly likes can a java prg retrieve the user list from the nt server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "can a java prg retrieve the user list from the nt server" Watch "can a java prg retrieve the user list from the nt server" New topic
Author

can a java prg retrieve the user list from the nt server

Srinath R
Ranch Hand

Joined: Jun 28, 2000
Posts: 71
hi all
i have a small doubt can a java prg be written to retrieve the list of users which are present in any given nt server, i believe their is one of the com components with in the nt server which has this list so now my question narrows down to one point can i activate a COM component in a java prg if yes then what is to be done to activate it.
[This message has been edited by srinath rammohan (edited March 30, 2001).]
Srinath R
Ranch Hand

Joined: Jun 28, 2000
Posts: 71
hi all
does that question seem so meening less that their is no reply's or is it that no one has used this before.
kindly respond
tnx
srinath
John Bateman
Ranch Hand

Joined: Mar 09, 2000
Posts: 320
Hi
Usually a non-reply can mean a few things.
- No-one can help you
- No-one understood what you wanted to do.
- They are just being mean. (Not usually the case.)
I doubt people would answer you if they could not provide you with some help. Having to read 50,465 replies of "Sorry I can't help you" can get a little tiresome.
I am no expert on this issue, but, I think if you want to use COM or other 'OS specific' stuff on Windows you will have to look at the Java Native Interface (JNI and NOT JINI) stuff. You may have to wrap your app and/or do the same to the service you want to acces on NT.

SOURCE CODE should be SURROUNDED by "code" tags.
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Hi!
Well why donn you try and write a c program to look up @ the system and get the userlist..
Call the dll coded in c thru jni from u r Java program it shud work..
Lemme try the same and get bak to ya with a code if i can..
Regds
Gautham Kasinath


"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
Michael Fitzmaurice
Ranch Hand

Joined: Aug 22, 2001
Posts: 168
Hi
If you already know which COM object you need to use but don't fancy getting dirty with JNI, have a look at :
http://www.linar.com
They have written a product called J-Integra which enables you to treat COM objects as if they were pure Java objects, and vice-versa. I believe the evaluation version is free.
Hope this helps
Michael


"One good thing about music - when it hits, you feel no pain" <P>Bob Marley
 
 
subject: can a java prg retrieve the user list from the nt server
 
Threads others viewed
New to JDBC
passing vector and hashtables in query string
Windows 2000 Plateform...
HOW TO TRANSFER ASP COM TO JAR?
how do v call our own functions in jsp
developer file tools