Integrate with Profile Module

Jul 6, 2011 at 7:59 PM

I'm looking to extend your module a bit. I'm using the Contrib.Profile module and I would like to populate some of the Profile fields after pulling the information from an LDAP server.

Would I be correct in placing this code in CustomAuthentication.cs file, in the GetAuthenticatedUser() method, under the  // Creating new user if not exists section?

Aug 5, 2011 at 1:58 PM
Edited Aug 5, 2011 at 2:07 PM

Sorry for my late reply. Yes of course, you can place your code after or before // Adding default roles to user or // Creating new user if not exists section section, it depends on that you want to add.