I believe we discussed a similar topic in our support thread correspondence. It concerned how to get LDAP Property Mappings in a Custom UserProfile field. The methodology of adding them to a user control is the same. Basically you will need to get the mapping via the configurations of your LDAP and then you are free to manipulate the data retrieved. Here is the sample from the support thread:
"For the sake of this sample the property names you define in the Sitefintiy LDAP user mappings should contain the "profile_" prefix and have the same names as the fields in the user profile. So for example if you want to synchronize the custom field "Country" in the user profile with the country information form your AD, when you define the mapping for this LDAP field you have to name your property "profile_Country"."
var userManager = UserManager.GetManager(
var users = userManager.GetUsers();
var ldapFacade =
var mapping = Config.Get<SecurityConfig>().LdapConnections.LdapMapping.UserMapping;
var ldapProfileMappingKeys = mapping.PropertiesMapping.Keys.Where(k => k.Contains(
var ldapUser = ldapFacade.GetUserById(user.Id,
> profileFieldsProxy =
var fieldValue = LdapUtilities.GetAttributeValue<
Ivan D. Dimitrov
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.