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
I have created a document type containg user picker. I am able to fetch content from Content Management API but I am only getting user ID. How to get details of user picked from user picker like email and name?
Hi,. You can only choose users that have customer/user permissions on that JSD project. This is due to security/privacy reasons.
I'm not familiar with Heartcore, but the membership functions hang off the UmbracoHelper and can be accessed like this:
UmbracoHelper
var member = Umbraco.Member(123); // where 123 is your ID if (member != null) { var name = member.Name; var email = member.Value<string>("email"); }
Heya.
The user picker isn't really meant to be used on the frontend.
I would recommend creating a document type called e.g. Employee and then adding the info fields you need.
You could then use a content picker to pick the specific Employee/User/Author...
/Darek
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to get details of user picked from user picker?
I have created a document type containg user picker. I am able to fetch content from Content Management API but I am only getting user ID. How to get details of user picked from user picker like email and name?
Hi,. You can only choose users that have customer/user permissions on that JSD project. This is due to security/privacy reasons.
I'm not familiar with Heartcore, but the membership functions hang off the
UmbracoHelper
and can be accessed like this:Heya.
The user picker isn't really meant to be used on the frontend.
I would recommend creating a document type called e.g. Employee and then adding the info fields you need.
You could then use a content picker to pick the specific Employee/User/Author...
/Darek
is working on a reply...