Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fredb23

    Command text and parameters

    Hello, simple code : Set cmd1 = Server.CreateObject("ADODB.Command") Set prm1 = cmd1.CreateParameter("[Lowest]", adInteger, adParamInput) prm1.Value = 2 cmd1.Parameters.Append prm1 cmd1.ActiveConnection = statistiques_connexion_STRING cmd1.CommandText = "Parameters [Lowest] Long;" & _ "SELECT...
  2. fredb23

    Example of ASP LDAP query string?

    Nice one Zcolton ! thanks Adspath, as the name says, return the full path of the AD user so i get something like : LDAP://CN=some user name,OU=W2000 XP,OU=computers and users,OU=Informatique,OU=society,DC=some domain,DC=net I can work with that string to extract the information i need. Out of...
  3. fredb23

    Example of ASP LDAP query string?

    oops, sorry Zcolton, i did miss your reply ... yes, its the OU the user is in i'm trying to retrieve. thanks a lot
  4. fredb23

    Example of ASP LDAP query string?

    Anyone's willing to help me ? please .. cheers
  5. fredb23

    Example of ASP LDAP query string?

    Hello people, I've done a simple asp identification form that check if a user exist against Active directory. It takes username and password from the form then submit an sql query like this : strSQL = "SELECT cn FROM 'GC://"+domainName+"' WHERE objectCategory='person' AND sAMAccountname...

Part and Inventory Search

Back
Top