-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Use Jcifs,How can I get windows account in ZK?
---------------
this java code can return windows account when it run client:
System.getProperty("user.name");
in ZK,How can I run Java code on client?
Use Jcifs,How can I get windows account in ZK?
When you run a System command on your server, it's on your server, not the client. The server has no clue what's running on the client. It could get be Mac OS x, Linux, Window, OS/2, or something else you have no control of. I don't see any logical tie between an HTTP request that's being processed by ZK and a Java based CIFS connection. Perhaps if jCIFS has an API to check for existing network level login, you can call that from a ZK composer/controller.
use Jcifs:How can I call "request.getRemoteUser()" in zk?
Asked: 2010-12-02 19:12:28 +0800
Seen: 524 times
Last updated: Dec 03 '10