Thank you Evgeniy.
I did a console.log and here are the results (personal information has been modified). It still does not show any of the custom properties in here.
We have the following custom properties created in the user profile service application:
- employeeID
- employeePayrollName
- IsAssistant
[object Object]
{
[functions]: ,
AboutMe: "",
AccountName: "domain\username",
ADGuid: "",
Assistant: "",
CellPhone: "xxx xxxxxxx",
Department: "Department Name",
Fax: "",
FirstName: "FirstName",
HomePhone: "",
LastName: "Lastname",
Manager: "domain\manager",
Office: "Head Office",
PersonalSpace: "/personal/username/",
PersonalURL: "http://servername:9191/Person.aspx?accountname=domain%5Cusername",
PictureURL: "/_layouts/15/userphoto.aspx?size=L&accountname=domain%5Cusername",
PreferredName: "FirstName Lastname",
PublicSiteRedirect: "",
QuickLinks: "",
SID: "S-1-5-21-583907252-682003330-53576524-3149",
SPS-Birthday: "01/01/1970 00:00:00",
SPS-ClaimID: "",
SPS-ClaimProviderID: "Windows",
SPS-ClaimProviderType: "Windows",
SPS-Department: "Department Name",
SPS-DisplayOrder: "",
SPS-DistinguishedName: "CN=FirstName Lastname,OU=OU_OUNAME,DC=DCNAME,DC=local",
SPS-Dotted-line: "",
SPS-EmailOptin: "",
SPS-FeedIdentifier: "http://servername:9191/personal/username;1.4b5c2593739c405cae09a4bdf2669e85.a3820f25c42a485a953a3b006dba1706.b4c53b936c1e4a7b8ef2fa55bf454ba7.0c37852b34d0418e91c62ac25af4be5b",
SPS-HashTags: "",
SPS-HireDate: "01/01/2010 00:00:00",
SPS-Interests: "",
SPS-JobTitle: "MY JobTitle",
SPS-Location: "Head Office",
SPS-MasterAccountName: "",
SPS-MySiteUpgrade: "",
SPS-O15FirstRunExperience: "",
SPS-ObjectExists: "",
SPS-PastProjects: "",
SPS-Peers: "",
SPS-PersonalSiteCapabilities: "14",
SPS-PersonalSiteInstantiationState: "2",
SPS-PhoneticDisplayName: "",
SPS-PhoneticFirstName: "",
SPS-PhoneticLastName: "",
SPS-PictureExchangeSyncState: "0",
SPS-PicturePlaceholderState: "0",
SPS-PictureTimestamp: "63605795814",
SPS-PrivacyActivity: "0",
SPS-PrivacyPeople: "False",
SPS-ProxyAddresses: "",
SPS-ResourceAccountName: "",
SPS-ResourceSID: "",
SPS-Responsibility: "",
SPS-SavedAccountName: "domain\username",
SPS-SavedSID: "System.Byte[]",
SPS-School: "",
SPS-SipAddress: "",
SPS-Skills: "",
SPS-SourceObjectDN: "",
SPS-StatusNotes: "",
SPS-TimeZone: "",
SPS-UserPrincipalName: "[email protected]",
Title: "MY JobTitle",
UserName: "username",
UserProfile_GUID: "38746d28-020b-4b70-89fa-50f95192652c",
WebSite: "",
WorkEmail: "[email protected]",
WorkPhone: "xx-xxxxxxx"
}