Hi,
I have a requirement where i have created a group in Active directory and i am part of that group and i wish to validate the logged in user based on the group.
I have wriiten code in Global.asax:
if(User.Isinrole(domain\groupname))
//some action
else
//some action
If i publish this code and run in IIS 6.0, i am properly validated.
If i run the same code in IIS 7.0 and Windows server 2008, it fails. So i need to do some settinsg in IIS or applictaion web.config file for the same.
regards,
Parimal