Jump to content

Archived

This topic is now archived and is closed to further replies.

jayR

Accessing a DOS variable

Recommended Posts

There is a variable I can access from the dos promt that is called %nwusername% and it returns the novell username of the person currently logged into the system. Is there a way I can access that variable so that I can record the username of who is accessing my company's intranet page? I've looked around but found nothing. Thanks in advance.

Share this post


Link to post
Share on other sites
This is something solvable with your own network software. Don't your server logs identify the network IP address for every access?

Share this post


Link to post
Share on other sites
The thing is that multiple people can share computers, so they have the same IP address. If I could log their Novell username it would let us see who specifically accessed the page, not just which machine.

Share this post


Link to post
Share on other sites
You should be able to get this infomation through COM. However this really is more a windows thing, php just provides the COM interface. You would probably find more help on a MS developers site.

Beware though, COM is an absolute mess.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.