System.DirectoryServices

From: Brian (bonei_at_vafb.com)
Date: 06/02/04


Date: 1 Jun 2004 15:20:25 -0700

I have a few pages which authenticate a user to our site.

Checking a login and password with syntax as below:

   Dim entry As New DirectoryEntry(_path, domainAndUsername, PWD)

My problem is I can only do this if I elevate the anonymous user to
ADMINISTRATOR of my domain.

Should my ASPX page have to be running the ADMIN account to use this
namespace.
Another task I need is to enumerate users in a GROUP using this
namespace.
That also only works with the ADMIN account.

Thanks,
Brian



Relevant Pages

  • Re: [PHP] for the sake of conversation - syntax
    ... How does PHP work out where these "packages" are? ... The ability to have multiple namespaces per file leads to issues with the "as" or "into" syntax. ... internal virtual namespace within that class only; for internal use by that class; non accessible to anything else - to allow for function libraries that aren't in packages / classes and could have conflicting function names. ... One would hope that when namespaces are ubiquitous there will be no need to prefix functions with package identifiers. ...
    (php.general)
  • Re: [PATCH] private mounts
    ... >>I suppose it will be called by the login process or by wrappers like ... shell were actually modified to implement setnamespace, ... The wrapper I mentioned will usurally not be needed for normal operation, ... The mount would be a part of the current namespace, ...
    (Linux-Kernel)
  • Re: identifiers and modules
    ... URI for a namespace and a canonical name within that namespace. ... The standard W3C XML schema language has many critics within the XML ... the issue of how awkward the syntax of specifying such semantics is. ... Neither Tom nor I am talking about XML syntax or XML schema at all. ...
    (comp.lang.scheme)
  • Re: Any difference between VB.net and C#.net
    ... C# puts in "namespace MyCompany.Technology.Args" for you. ... there is no simple way of telling the runtime not to serialize ... VB.NET has no within-the-line comment syntax ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to restore Admin account??
    ... If that doesn't work try rebooting server into DSRM mode and see if you can ... I can't login as Admin and can't login ... through Terminal Service either since the Admin account hasn't been able ...
    (microsoft.public.windows.server.sbs)