Hi,
I want to create local user in Windows 2000 using Java.
How to do it ?
I have tried using jintegra.
Any other options/APIs ?
Thanks in advance.
Badrish
-
create user in OS (1 messages)
- Posted by: Badrish Agarwal
- Posted on: March 30 2004 08:19 EST
Threaded Messages (1)
- create user in OS by Tobias Rademacher on March 30 2004 11:06 EST
-
create user in OS[ Go to top ]
- Posted by: Tobias Rademacher
- Posted on: March 30 2004 11:06 EST
- in response to Badrish Agarwal
Hi Badrish,Hi,I want to create local user in Windows 2000 using Java.How to do it ?I have tried using jintegra.Any other options/APIs ?Thanks in advance.Badrish
You could try to use JNDI to access Active Directories LDAP capabilites. But I don't know if it is allowed to create a new user in AD from scratch. Maybe OSUser helps you here. Don't know. Give it a try or even better ask them on there mailing list.
There is a free Java-COM Bridge called JACOB, but is ways behind jintegra and does not seem to say under development any more (a heard about integration problems with JDK 1.4+ JNI).
The other alternaives: Wride a own JNI/C++ Bridge to enable Java to create such an user or use C#/.NET and build a wrapping Webserivce and use this to create a os user from inside Java.
Just some brainstorming
Bye
Toby