Quick question - returns the login name. How do I return the "Name" of a member - i.e the text that is displayed in the member listing under a, b, c,d etc.
In most cases loginName would work, except my loginName is a collection of numbers, and returning this makes my users sound like prisoners...Dear 56465654!!
i have searched but cannot seem to find it!
Thanks in advance
Andrew
You can see all the values that are returned by the GetCurrentMember() function by using the following:
[code][/code]
You'll need to view the html source from the browser since it won't know how to render the xml returned. But you'll see all the available output you have to choose from in your xpath to get the text you're looking for.
The 'copy-of' is a GREAT help when you're not sure what your options are.
Thank you both: nodeName was what I was after. I had read about copy-of and tried it, but did not know you had to view source to see it. Anyway, got what I wanted, and now my users can stop feeling like prisoners - thanks to doug and dirk!
Get Member Name
Hi all
Quick question - returns the login name. How do I return the "Name" of a member - i.e the text that is displayed in the member listing under a, b, c,d etc.
In most cases loginName would work, except my loginName is a collection of numbers, and returning this makes my users sound like prisoners...Dear 56465654!!
i have searched but cannot seem to find it!
Thanks in advance
Andrew
Hi,
Have you tried @nodeName yet?
Regards,
/Dirk
You can see all the values that are returned by the GetCurrentMember() function by using the following:
[code][/code]
You'll need to view the html source from the browser since it won't know how to render the xml returned. But you'll see all the available output you have to choose from in your xpath to get the text you're looking for.
The 'copy-of' is a GREAT help when you're not sure what your options are.
cheers,
doug.
Thank you both: nodeName was what I was after. I had read about copy-of and tried it, but did not know you had to view source to see it. Anyway, got what I wanted, and now my users can stop feeling like prisoners - thanks to doug and dirk!
is working on a reply...