I am currently trying to link my intranet to an DC and user LDAP to log in my users.
I have worked out how to querry AD, but no luck on authenticating them. what i was planning on doing was, find the current user, then querry LDAP and see if that user assist, if so then let them on, other wise, not let them on.
So, what i am trying to find out, is if this is the best way, how do i find the current user in windows from ASP vbscript or if this is not the best way, then how would i be best doing it.
They are all on my network. i tried the above, but it brings nothing back. All i got was an emty entry.
But as i don't need to link to LDAP then, is there another way, ie, look into the wmi or the winmgmts? or is this a slow way of doing things?