ConnectApi.User Class

This class is abstract.

Subclass of ConnectApi.​ActorWithId Class

Name Type Description Available Version
additional​Label String An additional label for the user, for example, “Customer,” “Partner,” or “Acme Corporation.” If the user doesn’t have an additional label, the value is null. 30.0
communityNickname String User’s nickname in the community 32.0
companyName String Name of the company

If your community allows access without logging in, the value is null for guest users.

28.0
displayName String User’s name that is displayed in the community. If nicknames are enabled, the nickname is displayed. If nicknames aren’t enabled, the full name is displayed. 32.0
firstName String User's first name 28.0
isChatterGuest Boolean true if user is a Chatter customer; false otherwise. 28.0
isInThisCommunity Boolean true if user is in the same community as the context user; false otherwise 28.0
lastName String User's last name 28.0
photo ConnectApi.Photo Information about the user's photos 28.0
reputation ConnectApi.Reputation Class Reputation of the user 32.0
title String User’s title

If your community allows access without logging in, the value is null for guest users.

28.0
userType ConnectApi.​UserType Enum Specifies the type of user.
  • ChatterGuest—User is an external user in a private group.
  • ChatterOnly—User is a Chatter Free customer.
  • Guest—User is unauthenticated.
  • Internal—User is a standard organization member.
  • Portal—User is an external user in a customer portal, partner portal, or community.
  • System—User is Chatter Expert or a system user.
  • Undefined—User is a user type that is a custom object.
28.0
Previous
Next