Thanks for the reply - I haven't tried it yet as I think I found the answer in topic:
http://p2p.wrox.cpm/topic.asp?TOPIC_ID=40908
using
protected void ActivityEntry_Inserting(object sender, ActivityEntryInsertingEventArgs e)
{e.InputParameters["@UserName"].value = Membership.GetUser().UserName;}
and having
<asp:parameter Type="String" Name="userName" />
in the InsertParameters
My problem now is that I get a compilation error: "The type or namespace name 'ActivityEntryInsertingEventArgs' could not be found (are you missing a using directive or an assembly reference?)"
Where and how do I put the directive / assembly reference?
Sorry I'm new to a lot of this...
Lee