I am running some custom authentication code within the standard .net login control.
I have the code being called correctly and the user is validating correctly via:
From this point I want to retrieve a custom EPiServerProfile property e.g.
My question is, how do I associate the 2 when within the
<asp:Login onauthenticate event
Thanks a lot
I'm not sure I understand the question, but I interpret it as a desire to get a value from the EPiServerProfile of the user trying to log on? If the eventargs at hand doesn't include the username, you can check the UserName property of the Login control. The call EPiServerProfile.Get with that username.
Ha ha, for some reason I must have missed that in the sdk.