| rudenste 2004-12-16, 7:40 am |
| I am creating an Internet CMS site to be entered with an account and password using forms authentication. The site also has to be available on our company's internal web site. I would like to handle who gets in, whether it is from the account ID picked up from their computer using Windows authentication or from a logon form where they must enter their ID and password or even from an internal kiosk via a logon form where they just enter their SSN and then I get their lanid and let them in.
I'm having trouble handling this since I can't get cmsFormsAuthentication.AuthenticateAsCurrentUser to return the Lan ID of the user who has logged onto their own PC. It seems to return the IIS user (IUSR_MachineName) instead.
Ideally I'd like to be able decide who gets logged on and just pass the ID to CMS.
Any ideas about how to do this? |