Copied to clipboard

Flag this post as spam?

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


  • Rob 22 posts 133 karma points
    May 08, 2018 @ 16:58
    Rob
    0

    How do I get the Alias / Name of a specific member property.

    Hi I am stuck on what I thought would be simple.

    I have looked at the built in member profile editor and I don't want to loop them all.

    I need to get a property of a members custom properties and show the alias.

    To get the Value I use. var memberV = Members.GetCurrentMember(); @memberV.GetProperty("customProperty").Value

    How would I show the Title of that field ?

    I thought it would be... @memberV.GetProperty("customProperty").Name or @memberV.GetProperty("customProperty").Alias

    But alas :)

    Kind regards

    Rob

Please Sign in or register to post replies

Write your reply to:

Draft