Users, Profiles and Organizations
Concept
Users
A user in primedocs typically represents a person within the organization, i.e., an employee who uses primedocs is stored as a "User" in the database.
The assignment is done using the so-called "Primary SID". Depending on the authentication method, this corresponds either to the Active Directory "PrimarySid" (in the format S-1-5-…) or the Entra ID "objectId" (in the format of a GUID).
However, a user does not necessarily have to be associated with a real person. There can also be technical user accounts.
The following properties are associated with a user:
- Title
- PrimarySid
- Group memberships, which are loaded via the so-called
PrincipalConnector - Defined user fields, which can be synchronized from other sources via the User synchronization.
Additionally, a user can have one or more profiles.
Profiles
A profile is associated with both a user and an organizational unit. It allows, for example, a user with multiple roles within the company to represent these roles within primedocs.
In primedocs, documents are always generated via a profile. This ensures the connection between user data and organizational data.
A profile can also be shared with other users, allowing, for instance, another employee to use the profile for document generation as well.
A profile has the following properties:
- Title
- Assignment to a user
- Assignment to an organization
The profile always contains the corresponding user and organizational fields. However, these can be overridden at the profile level if necessary.
The profile itself can be shared with other users either manually or automatically via rules.
Organizations
Organizational units represent the structure of the company. They can be organized in a hierarchical structure and can be assigned permissions.
Permissions ensure that only authorized users can assign a specific organizational unit to a profile.
An organizational unit has the following properties:
- Title
- If part of a hierarchy: the ID of the parent organizational unit
- Defined organization fields
Organizational units can also be created and managed automatically in primedocs using the Organization synchronization.
Color Themes and Fonts
In addition to standard fields (such as text, images, or checkbox values), organizational units support two special field types: Color Theme and Font Theme. Both are stored as XML on the organizational unit and, like all other fields, are inherited by subordinate organizational units. If multiple themes are defined, users can choose between them in the Office ribbon.
- Color Theme — defines the CI/CD color palette (accent and hyperlink colors as well as specific chart colors). For the structure, attributes and a complete example, see Color themes.
- Font Theme — defines the fonts (
MajorFont/MinorFont, additionalFonts) and bullet styles. For the structure, attributes and a complete example, see Font themes.