+ Start a Discussion

Can't access to User.CommunityNickname


I'm tying to launch a custom SOQL query:

SELECT Phone, PersonAssistantName, Owner.FirstName, Owner.LastName, Owner.Username, Owner.CommunityNickname, (SELECT Contact.FirstName, Contact.LastName, Contact.MobilePhone, Contact.Email FROM Account.Contacts LIMIT 1) FROM Account


But can't access to the CommunityNickname field of User table.

Looking at the documentation for User, it must exist. What am I doing wrong?


This works:



Select Owner.CommunityNickname From Account


 So that should work as well =)



I get the same error:


No such column 'Community.Nickname' on entity 'User'.