RE: Reading data

From: Bill Nitz (BillNitz_at_discussions.microsoft.com)
Date: 02/21/05


Date: Mon, 21 Feb 2005 08:13:05 -0800

Mark,
If you don't specify a username and password in the properties of the
Connection object, it will use the security context of the currently logged
on user. If you're authenticating to your Intranet (i.e. using Integrated
Authentication), this should work fine as long as each user has appropriate
directory service rights - which they should by default.

Hope this helps.

Bill

"Mark Davey" wrote:

> I need to create a script that can list all users, with telephone, manager
> and email info from our AD This will need to be real time as it will be used
> as an intranet page.
> I can create a script, using ADsDSOObject, but this only runs from an admin
> account and I need domain users to be able to run the query. Is it possible
> or do we need to think again, I really do not want to start using a seperate
> database for this
>
> Thanks
>
>
>



Relevant Pages

  • RE: Using AD to grant page and directory accesss
    ... For intranet development.. ... authenticating users/pages against AD groups to determine what pages, ... AD rather than just testing the security of the windows user and AD ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • single sign on - why not trust AD?
    ... For intranet development.. ... authenticating users against AD groups to determine what pages, menus, ... point in the session? ... to authenticate in an intranet site while windows is authenticated as ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Riddle me this error ADODB.Recordset (0x800A0E7A)
    ... Authenticating your users is fine, but when you're doing that, yes, it will ... not let anyone in who doesn't have permissions, well, since, that's what ... Does SQL Server need to know who is accessing your intranet? ... need to pass that person's credentials for SQL login purposes. ...
    (microsoft.public.inetserver.asp.general)

Quantcast