Users, Profiles and Organizations
- 1 Concept
- 1.1 Users
- 1.2 Profiles
- 1.3 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 https://primesoft-group.atlassian.net/wiki/spaces/PDTEN/pages/61410736.
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 https://primesoft-group.atlassian.net/wiki/spaces/PDTEN/pages/204537857.
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
The Color Theme allows specifying one or more themes. The configuration is stored in XML format.
Under the ColorThemes
element, multiple ColorTheme
elements can be defined. If multiple themes are configured, users can select one from a list.
Within a ColorTheme
, you can define typical Office color settings (such as accent colors and hyperlink colors) and specific configurations for chart colors.
With the translate
attribute, names can be localized for multilingual installations.
As with all other fields in organizational units, this information is inherited by subordinate organizational units.
Example:
<ColorThemes>
<ColorTheme Id="Red" translate-DisplayName="ColorThemes.Red" IsDefault="true">
<Dark1>000000</Dark1>
<Light1>FFFFFF</Light1>
<Dark2>44546A</Dark2>
<Light2>E7E6E6</Light2>
<Accent1>4472C4</Accent1>
<Accent2>ED7D31</Accent2>
<Accent3>A5A5A5</Accent3>
<Accent4>FFC000</Accent4>
<Accent5>5B9BD5</Accent5>
<Accent6>70AD47</Accent6>
<Hyperlink>0563C1</Hyperlink>
<FollowedHyperlink>954F72</FollowedHyperlink>
<Chart>
<ChartColors>
<ChartColor translate-DisplayName="Colors.DeepTurquoise" Id="1">006667</ChartColor>
<ChartColor translate-DisplayName="Colors.VividTurquoise" Id="2">00AFBB</ChartColor>
<ChartColor translate-DisplayName="Colors.DeepBlue" Id="3">183F5A</ChartColor>
<ChartColor translate-DisplayName="Colors.VividBlue" Id="4">007AC0</ChartColor>
<ChartColor translate-DisplayName="Colors.DeepIndigo" Id="5">302950</ChartColor>
<ChartColor translate-DisplayName="Colors.VividIndigo" Id="6">565CA0</ChartColor>
<ChartColor translate-DisplayName="Colors.DeepPink" Id="7">73223C</ChartColor>
<ChartColor translate-DisplayName="Colors.VividPink" Id="8">DE5D76</ChartColor>
<ChartColor translate-DisplayName="Colors.DeepRed" Id="9">9E0C24</ChartColor>
<ChartColor translate-DisplayName="Colors.Vividred" Id="10">D50032</ChartColor>
</ChartColors>
<GridLinesColor translate-DisplayName="Colors.MediumGrey">A6A6A6</GridLinesColor>
<GridAxisColor translate-DisplayName="Colors.Black">000000</GridAxisColor>
<DataLabelColor translate-DisplayName="Colors.Black">000000</DataLabelColor>
<TextColor translate-DisplayName="Colors.Black">000000</TextColor>
<Font Name="Calibri Light" Size="14" Bold="false" Italic="false" />
<TitleFont Name="Calibri Light" Size="14" Bold="true" Italic="false" />
<GridLinesFormat DashStyle="msoLineSolid" Width="0.75" ColorHex="000000" />
</Chart>
</ColorTheme>
<ColorTheme Id="Blue" translate-DisplayName="ColorThemes.Blue">
<Dark1>000000</Dark1>
<Light1>FFFFFF</Light1>
<Dark2>44546A</Dark2>
<Light2>E7E6E6</Light2>
<Accent1>4472C4</Accent1>
<Accent2>ED7D31</Accent2>
<Accent3>A5A5A5</Accent3>
<Accent4>FFC000</Accent4>
<Accent5>5B9BD5</Accent5>
<Accent6>70AD47</Accent6>
<Hyperlink>0563C1</Hyperlink>
<FollowedHyperlink>954F72</FollowedHyperlink>
<PowerPointSpecific>
<Dark1>363232</Dark1>
<Light1>DBDBDB</Light1>
</PowerPointSpecific>
</ColorTheme>
</ColorThemes>
Fonts
The FontTheme
primarily defines fonts, but also bullet styles.
The MajorFont
and MinorFont
elements correspond to the standard Office themes. Additional fonts defined under the Fonts element are made available to the user via the primedocs ribbon.
Example:
<FontTheme>
<MajorFont>Chiller</MajorFont>
<MinorFont>Courier New</MinorFont>
<Fonts>
<Font>Consolas</Font>
<Font>Comic Sans MS</Font>
</Fonts>
<Bullets>
<CharacterBullet translate-DisplayName="Bullets.First" TextIndent="0.8" TextIndentRelativeToFontSize="18" SizeFactor ="1.2" CharCode="167" FontName="Wingdings">
<Color>
<ThemeIndex>Accent4</ThemeIndex>
</Color>
</CharacterBullet>
<CharacterBullet translate-DisplayName="Bullets.Second" TextIndent="0.8" TextIndentRelativeToFontSize="18" SizeFactor ="1.8" CharCode="172" FontName="Arial Narrow">
<Color>
<Hex>0026FF</Hex>
</Color>
</CharacterBullet>
<ImageBullet TextIndent="0.8" TextIndentRelativeToFontSize="18">
<Base64Png>iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABWSURBVDhPY6A1+A+lMQAjlMYH/v//HwFlIkB3txEjE5RNFqBIM9zZebn/sfpt0mRGoLsHm7OHqGZYaONMRfgARgr7/z8exSBGxoUMR49iN3ug/MzAAAAAbBTZkEPyLAAAAABJRU5ErkJggg==</Base64Png>
</ImageBullet>
</Bullets>
</FontTheme>
PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland