AI OnAI Off
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.
Hi Magnus,
Ha ha, for some reason I must have missed that in the sdk.
Thanks a lot
Hi,
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:
Membership.ValidateUser(txtUserName.Text, txtPassword.Text)
From this point I want to retrieve a custom EPiServerProfile property e.g.
EPiServerProfile.Current["CustomerID"].
My question is, how do I associate the 2 when within the
<asp:Login onauthenticate event
Thanks a lot