The user object contains information about a user record.
All users have member records in People & Organizations. You may set contact information and add other details to user records -- useful for pulling contact details through to documents.
Members
Contacts, organizations, vehicles, venues, and users are all known as members in the database. Members have some shared attributes, along with attributes that are specific to that particular member type.
When you're checking a list of members, you can use the type object to determine what type of member you're working with.
For example, the participants object against an opportunity returns participant objects for any members who are participants on the opportunity. To print only users:
<ul>
{% for participant in order.participants %}
{% if participant.type == "User" %}
<li>{{ participant.name }}</li>
{% endif %}
{% endfor %}
</ul>
Objects that return users
In most documents and discussion templates, you may use:
current_user
Returns information about the logged-in user.
{{ current_user.name }}
owner_user
Returns information about the owner user of a record:
Document layouts
The user object can be accessed in document layouts created against the following modules:
Member
From a user record:
Opportunity
To print users that are a participant against an opportunity:
To print users that are sub-contract suppliers for service bookings:
Project
To print users that are a participant against a project:
Purchase order
To print information about the user who authorized a purchase order:
Discussion templates
The user object can be accessed in discussion templates created against the following modules:
Member
From a venue record:
Opportunity
To print users that are a participant against an opportunity:
To print users that are sub-contract suppliers for service bookings:
Project
To print users that are a participant against a project:
Purchase order
To print information about the user who authorized a purchase order: