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
Hi All,
Anyone knows how to get User currently Login ID in umbraco ?Because I am building custom CMS and need to detect the curren User login ID.
Any API reference ?
Thanks
Hi Kurniawan,
I think the most generic way of doing this is using the Membership provider classes: Membership.GetUser().ProviderUserKey. This returns an object that you can cast to an int to get the currently logged in member ID in Umbraco.
Cheers,
Michael.
Hi,
This should do it
umbraco.helper.GetCurrentUmbracoUser().Id
Rich
is working on a reply...
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.
Continue discussion
Get Umbraco Login User ID
Hi All,
Anyone knows how to get User currently Login ID in umbraco ?
Because I am building custom CMS and need to detect the curren User login ID.
Any API reference ?
Thanks
Hi Kurniawan,
I think the most generic way of doing this is using the Membership provider classes: Membership.GetUser().ProviderUserKey. This returns an object that you can cast to an int to get the currently logged in member ID in Umbraco.
Cheers,
Michael.
Hi,
This should do it
Rich
is working on a reply...
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.