Name
Non-queryable object that provides information about foreign key traversals when the foreign key has more than one parent.
This object is used to retrieve information from related records where the related record can be from more than one object type (a polymorphic foreign key). For example, the owner of a case can be either a user or a group (queue). This object allows retrieval of the owner name, whether the owner is a user or a group (queue). You can use a describe call to access the information about parents for an object, or you can use the who, what, or owner fields (depending on the object) in SOQL queries. This object can’t be directly accessed.
Introduced in API version 8.0.
describeSObjects()
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The user alias. This field contains a value only if the related record is a user.
- Type: email
- Properties: Filter, Group, Nillable, Sort
- Description: The email address of the user or group (queue).
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The first name of the user, contact, or lead.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Description: Indicates whether the related record is an active user (
true) or not (false). This field contains a value only if the related record is a user. - Default value: false
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The last name of the user, contact, or lead.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The middle name of the user contact, or lead.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The name of the parent of the object queried. If the parent is a user, contact, or lead, the value is a concatenation of the
FirstName,MiddleName,LastName, andSuffixfields of the related record.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 39.0
- Type: phone
- Properties: Filter, Group, Nillable, Sort
- Description: The phone number of the user. This field contains a value only if the related record is a user.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description:
ID of the user’s Profile. Only populated if the related record is a user.
This field is a relationship field.
-
Relationship name: Profile
-
Relationship type: relationship
-
Refers to: Profile
- Type: picklist
- Properties: Filter, Group, Nillable, Sort
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The name suffix of the user, contact, or lead.
- Type: string
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: The title of the user, for example CFO or CEO.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Description: A list of the types of sObject that can be an owner of this object. You can use this field to filter on a type of owner, for example, return only the leads owned by a user.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description:
The ID of the user role associated with this object.
This field is a relationship field.
-
Relationship name: UserRole
-
Relationship type: relationship
-
Refers to: UserRole
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Description: Contains the name that a user enters to log into the API or the user interface. The value for this field is in the form of an email address, and is only populated if the related record is a user.
To query on relationships where the parent can be more than one type of object, use who, what, or owner relationship fields.