Jump to content

PHP with AD User Groups Question.


01hanstu

Recommended Posts

Hi,

I know very little about binding PHP to AD. At the minute it is setup to Authenticate against AD (Via IIS), then from the that I have the following:

 

Declare's the Logon_Name variable, so that it can be used to 'print' buttons, and links i.e. if ($logon_name==("Administrator")); {echo admin link here'};

 

$logon_name = basename($_SERVER['AUTH_USER']);

 

What I would ideally like to do is be able to find the group the user is a member of, this way we can create custom AD groups like intra_admin and then if they are a member they will be able to see certain links to pages etc.

 

Any ideas, I hope this makes sence

Link to comment
https://forums.phpfreaks.com/topic/225229-php-with-ad-user-groups-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.