Jump to content

Get it started


nitron
 Share

Recommended Posts

Hello,

again a stuppid kind of question most properbly...

But not for me, for I seem to mis out a basic thing...

i've been doing al lot with AutoIT, but im totally new the Server Administrating...

Now im Trying to do a simple querry of User Informatins.

By using @Username i want to retrive some information. Firstname lastname..

Now mostpropably some are allready laughing.. But I simply can't figure out how this works with Autoit...

this is wat im trying to do with Autoit

CODE
Set objSysInfo = CreateObject("ADSystemInfo")

qQuery = "LDAP://" & objSysInfo.UserName

Set objUser = GetObject(qQuery)

FullName = objUser.firstname & " " & objUser.lastname

Now I know, there are many scripts around, that do much more, but im trying to learn the basics... SO could someone please tell me how to do this, so that i understand it.

Thx

Link to comment
Share on other sites

From my experience LDAP is a pian inn the A** reading is quite simple, since you dont need to authenticate with any sertificats and so on. I allways ended upp using a combo between "LDAP" when reading and DS[mod/add/...] when modifying / adding data.

UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...