Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hola,
I'm trying to figure out how to get the name of currentmember via Razor.
What namespace do i use?
Best regards,Peter
try this:
@HttpContext.Current.User.Identity.Name
;-)
Thumbs up.. That did the trick
/Peter
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Requesting current member with Razor
Hola,
I'm trying to figure out how to get the name of currentmember via Razor.
What namespace do i use?
Best regards,
Peter
try this:
@HttpContext.Current.User.Identity.Name
;-)
Thumbs up.. That did the trick
/Peter
is working on a reply...