Re: Getting users names and restricting Internet access for Users
- From: "Sean Chambers" <dkode8@xxxxxxxxx>
- Date: 18 Sep 2006 08:10:43 -0700
If you are using Microsoft ISA Server for your proxy, it already does
this "timed" internet access.
To access AD information for Csharp, look at the following link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemdirectoryservices.asp
the classes to access AD information can be located in
System.DirectoryServices.
hope this helps!
Sean
Chakkaradeep wrote:
Hi Sean,
Sorry to be not clear.
I want to retrieve the Active Directory Users in my system and list them in
my GUI.I saw System.Windows.Forms.SystemInformation.UserName where I can
retrieve the currently logged in User. I want to retrieve all Active
Directory Users in my Domain.
And regarding Internet Access, whichever Users I select through GUI, they
should be restricted from browsing.Users are already connected to Internet
via Proxy. I am writing an ISP software for my Firm, so , whichever Users
have crossed the Internet Usage Time for the day/month should be
disconnected. So, am looking for a way to handle it via program wherein the
User will be checked and restricted to the Internet.
Hope am clear.
Thanks for the reply.
Regards,
C.C.Chakkaradeep
"Sean Chambers" wrote:
I'm sorry, but this question is so vague I'm not even going to attempt
to answer.
1. What type of "User Names" system are you using? Active Directory?
2. If you are using Microsoft/Active Directory you can restrict
internet access via AD, or even better, use a proxy server and block
them there.
Sounds like you are trying to re-invent the wheel. but without more
details its hard to say.
.
- References:
- Re: Getting users names and restricting Internet access for Users
- From: Sean Chambers
- Re: Getting users names and restricting Internet access for Users
- Prev by Date: KeyDown not capturing all keys
- Next by Date: Exposing COM & inheritance problems
- Previous by thread: Re: Getting users names and restricting Internet access for Users
- Next by thread: ClickOnce
- Index(es):
Relevant Pages
|