Creating and Updating User Groups through a File Import

You can create and update as many user groups as required using a .csv (comma-separated values).The file must be UTF-8 compliant.

Note: This functionality is not available on mobile devices.


Before you begin:
  • You must be a platform administrator with at least Main Owner and Import/Export responsibilities. Platform members must have at least Main Owner and Import/Export responsibilities.
  • If you have access to several platforms, you can select another one. For more information, see Select a Platform for your Web App.
  • You can use:
    • the user's account, if the member has already validated the invitation to the platform.
    • the user's email, if the member has already been invited to the platform, and even if the invitation has not been validated yet.

    Note: For more information, see About Members.

  • Prepare a .csv file containing the information related to the groups you want to create or update. The file size must not exceed 40KB, and must not contain more than 1,000 members.
See Also
Creating a User Group
Editing a User Group
Adding Members to a User Group
Changing a User Group Visibility
Removing Members From a User Group
Exporting User Groups
  1. In the User Groups app toolbar, click Import Groups/Members:
  2. In the Import Groups/Members dialog box, click Browse.and select a .csv file.

    You can click See Example to download a .csv file that you can use like an import template.

  3. Select either of the following:
    • Add as new properties and members, to add new information to the existing groups.

      Members are added to the current list. The name is mandatory when creating a group. If provided, the name, description, owner and visibility fields are updated when modifying a group. If visibility is not provided, visibility is private. Responsibilities with users and groups grant them access to the group. Members are added to the existing list of members when modifying a group.

    • Replace existing properties and members, to update existing information.

      Name is mandatory when creating or modifying a group. Name, description, owner and visibility are updated when modifying a group. If owner is not provided, owner is replaced by the current user. If visibility is not provided, visibility is private. Responsibilities with users and groups replace the existing list of granted users. If not provided, existing granted users and groups are revoked. Members replace the existing list of members when modifying a group. For example, the existing list is discarded.

      Important: Providing responsibilities to users replace the existing list of granted users. If not provided, existing granted users are revoked.

    Note: When creating new groups, selecting any of the options above behaves the same.

  4. Click Import File.

Result: The user groups are created or updated.

Important: If a user group is not correctly specified, the whole import is cancelled. No user groups will be imported and the whole file is considered as invalid.

File Example:

CSV File Example

The file format is as follows:

id:e3083fb6-9553-482a-88e0-d31b6712d700;Group 1;Group description 1;Group owner1;Group visibility 1
user0
user1
user2

id:new ;Group 2;Group description 2
user3
user4
user5

id:new;Group 3;Group description 3;;private
viewer;user1;id:new
manager;user3;384f2a69-8417-4f89-9ef0-a1364637878d
owner;user4
user5
user6

Each group is specified by a set of lines.

The first line includes the following fields:

id:[New or UUID];[User Group Name];[User Group Description];[User GroupOwner];[Visibility]

[Responsibility];[User];[User];[GROUP_UUID];[GROUP_UUID]

[MEMBER]

The fields above are described here below:

  • [New or UUIDV4]: a version 4 UUID (Universal Unique Identifier). Optional. If id:new is specified, a new group is created and a new identifier is generated for that group. If an identifier is specified, the import either modifies the existing group with that identifier, or creates a new group with that identifier.
  • [NAME_VALUE]: group name.
    • Mandatory when creating a new group or if Replace existing properties and members has been selected.
    • Optional when updating an existing group, if Add as new properties and members has been selected.
    Note: The size of the name must range from 3 to 128 characters.
  • [DESCRIPTION_VALUE]: group description. Optional.
    Note: The size of the description must range range from 0 to 512 characters.
  • [OWNER]: owner of the group. Optional.
    Important: If no owner has been specified, you become the owner of the group.
  • [VISIBILITY]: Group visibility and privacy.

    Values are as follows:

    • "private"
    • "public"
    • "": Empty string
  • [RESPONSIBILITY]: Group responsibility. This field is followed by the list of existing non-pending users, [USER] (id or email), or list of existing groups [UUID] to grant. Values are as follows:
    • owner
    • manager
    • viewer

    Note: A new imported group can be granted to itself with its UID or with an “id:new” pattern.
    Important: An imported group cannot be granted to new other imported groups except the group itself.

  • [MEMBER]: Login ID or email of a group member.

The second and following lines list the username or the email of the members of the groups. Optional.

Note: The number of members is limited to 1000 for each group.
Important: The email values are not case sensitive.

You can specify several groups in a single file. Each group must be separated by one to n empty lines that you can add right after the last user of a group.

You can use # to prefix a comment. If you add a comment between two groups, you must also add a blank line between them.