If you are going to use the Active Directory Authentication Roles then have a look this example from MSDN