Klaus 0

Klaus 0

  • NA
  • 4
  • 0

Accessing Active Directory profile "on the fly"

Jun 11 2007 11:54 AM

Hello everyone

Working at a Intranet solution where we are gonna pull Active Directory(AD) data on the user and ofcause authenticate the user.
I have been experimenting with different approches like
* manually logging in a user(admin loging, as the ordinary user isnt allowed to search the AD). And for that matter the user him/her self for testing.
* WindowsIndenity(btw. does this work on mac, linux etc) which works just fine for the Authentication part - but not the "data part"

Now the problem accours when we dont want the User to manually login(Enter username/password) but prefer to have it done automaticly in the background - kinda like WindowsIndentity. 

One solution would be to obtain the users login/initials so we can search for the user in AD after (through a admin login)

So my question: is this even possible ? and if so how? aint asking for a full written code, just a few pointers and so :)

MY worry is ofcause that it aint possible due to Security reasons.