Role Based Forms Auth with Active Directory

  • Thread starter Patrick Olurotimi Ige
  • Start date
P

Patrick Olurotimi Ige

As anybody
succesfully implemented a role/groups based forms authentication against
the Active Directory?
Thx
Patrick
 
P

Patrick Olurotimi Ige

Thx Paul for the link..
But when u try that code(guess it has flaws!) ...u won't authenticate
with GROUPS and u wouldn't retrieve the GROUPS..
My aim is to have a form authentication validating against Active
Direcctory with Roles....
But getting GROUPS/ROLES to validate against poses a problem..
So doing authorisation poses a problem since i can't get groups/roles..
Any ideas?
 
P

Paul Clement

¤ Thx Paul for the link..
¤ But when u try that code(guess it has flaws!) ...u won't authenticate
¤ with GROUPS and u wouldn't retrieve the GROUPS..
¤ My aim is to have a form authentication validating against Active
¤ Direcctory with Roles....
¤ But getting GROUPS/ROLES to validate against poses a problem..
¤ So doing authorisation poses a problem since i can't get groups/roles..
¤ Any ideas?

I don't understand what you are saying. Groups, or Roles, are essentially the same thing. The link I
posted will return the group membership of the user.

If you want to authentication against Active Directory using Forms-based authentication then see the
following:

http://support.microsoft.com/default.aspx?scid=kb;en-us;326340


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
P

Patrick Olurotimi Ige

No Paul they don't return GROUP membership.
The code works only if i comment out the GetGroup function.
Any ideas?
 
P

Paul Clement

¤ No Paul they don't return GROUP membership.
¤ The code works only if i comment out the GetGroup function.
¤ Any ideas?
¤

The memberOf method should return the LDAP path for each group that the account is a member. Are you
saying that no groups are being returned?


Paul
~~~~
Microsoft MVP (Visual Basic)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top