locked
how to fetch the Distribution Group list from AD using GetTokenInformnation? RRS feed

  • Question

  • User1135901004 posted

    We had few distribution groups in our AD for emailing. To provide access to my application i use these groups to generate the license keys.

    Microsoft clearly says "Distribution groups play no role in security (you do not assign permissions to distribution groups), and you cannot use them to filter Group Policy settings."

    Is there any way to get the token access for the Distribution groups? 

    Thanks,

    Sakaleswararao

    Tuesday, July 27, 2010 1:48 AM

All replies

  • User-456111751 posted

    Hi,

    You can use Security enabled distribution list for permissioning in application. 

    Tuesday, July 27, 2010 3:10 AM
  • User-456111751 posted

    If you are using .Net you can restrict access with groups by giving the below code in web.config:

    <authentication mode="Windows"/>
    		<authorization>
    			<allow roles="Domain Name\Group Name"/>
    			<deny users="*"/>
    		</authorization>


     

    Tuesday, July 27, 2010 3:13 AM