My company has just switch to Active Directory, and I’ve been converting our legacy apps (mvc, silverlight, asp.net) to authenticate with AD using the asp.net membership provider.
We have an application that users enter and store form entry data which is forever associated with their username which the app gets from ‘user.name’ from the provider. The problem is whenever somebody changes their name (marriage, etc), the application has to be updated to change their existing entries to their new last name.
Is there a consistent field in AD that can be gotten to through the asp.net membership provider that can be used to associate with entries? or a best practice for handling such things?
Thanks
If you want your ASP.NET applications to authenticate against Active Directory, you need an Active Directory membership provider. See this article for more info: http://msdn.microsoft.com/en-us/library/ff650308.aspx.