Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Chris Etchells 6 posts 57 karma points
    Nov 08, 2013 @ 10:19
    Chris Etchells
    0

    Contour membership

    I need to get a member username to prefill a hidden field. I'm using a custom membership provider, so the {member.email} etc doesn't work. Can I use @User.Identity.Name for instance, I have that working fine in an html form, but I'd rather use Contour. Any ideas/ examples?

  • Fuji Kusaka 2203 posts 4220 karma points
    Nov 08, 2013 @ 10:49
    Fuji Kusaka
    0

    You should be able to get the logged in member using {member.loginname} or {member.email}. Is the user logged ?

  • Chris Etchells 6 posts 57 karma points
    Nov 08, 2013 @ 11:02
    Chris Etchells
    0

    User is logged in, but I have a custom membership provider, in a seperate database. Members are working fine, i.e they appear in the members section and the normal .net membership works. I think {member.email} only works with the umbraco database?

  • Chris Etchells 6 posts 57 karma points
    Nov 08, 2013 @ 12:26
    Chris Etchells
    101

    Ok, I figured it out. I'm using a session value and [%sessionvalue]

Please Sign in or register to post replies

Write your reply to:

Draft