Copied to clipboard

Flag this post as spam?

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


  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 18, 2009 @ 19:48
    Jan Skovgaard
    0

    How to get details from logged in member

    Hi Chris

    Great package you have made here. Looking forward to the next release when you get around it.

    I just have one question thouh and it's about how one can get the details from members. If I for instance provide the member-type with fields like "Nickname" etc.

    How do I then get these values when a user is logged in?

    I have tried just using umbraco:getItem but without any luck. I have off course placed the tag inside the secure template.

    /Jan

  • Petr Snobelt 923 posts 1535 karma points
    Sep 19, 2009 @ 16:06
    Petr Snobelt
    1

    umbraco.library:GetCurrentMember can be your method, but I don't know if ClientArea work with it, but it should.

    Petr

  • Lee 1130 posts 3088 karma points
    Sep 20, 2009 @ 09:59
    Lee
    0

    According to the write up it says

    This includes login/logout functionality and >user details display<.  All
    output is via xslt and addition member data is accessible via xslt
    extensions

    So I would have thought there are already some XSLT files that do what you want - If you have a delve then you might find what this package uses (But I would use what Petr says above)

  • Chris Koiak 700 posts 2626 karma points
    Sep 20, 2009 @ 18:21
    Chris Koiak
    0

    Thanks everyone.

    I would go with Petr's solution for now. I had indented to include a more friendly set of xslt extensions calls for extended parameters, but don't think I got round to it.

    Try the code below to see the methods returned xml

    <textarea>
    <xsl:copy-of select="umbraco.library:GetCurrentMember()"/>
    </textarea>

    I'll upload the source code tomorrow (don't know why I haven't done that already) and double check if there's something nicer. I'm moving house today and have no broadband! At least I can still access our.umbraco from my mobile!

    Chris

  • K Venkata Kumar 2 posts 22 karma points
    Nov 05, 2012 @ 07:47
    K Venkata Kumar
    0

    Hi This is venkat,

     

     

     How to get Google user details from umbraco, If had any stand Package , please give it...

  • K Venkata Kumar 2 posts 22 karma points
    Nov 05, 2012 @ 07:50
    K Venkata Kumar
    0

    Hi....

    i need gmail login in my asp.net website and as soon as user logged in i need to get the user details to my database.


    Thanks in advance

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies