Creating and Managing Groups in Kaltura Application Using a CSV File

 This article pertaining the following actions within the Kaltura Groups using a CSV file:

  • Creating groups
  • Adding users to a group
  • Viewing users within a group

 To create groups using a CSV file

You will first need to create groups in KMS, and when needed, assign user roles. This is a one time process that needs to happen before groups can be associated with channels. You can define any user role, since specific user roles override the group role.  A role must be configured so that MediaSpace can recognize and show groups.

See Group Support in Kaltura Applications and Kaltura Groups FAQ

To add users to groups using a CSV file

The bulk upload, end_user_csv should be uploaded into the KMC.

  1. Modify and use end_user_with_group csv to add groups. A user must be added to a group for every group that is created. You may use a single user or different users to add to all groups in separate lines. This will create all groups in the backend.
  2. Modify and use end_user_with_group_role to update KMS roles for all groups. Note the column name for the role column needs to be updated to match your KMS instance. The format of the column title is "metadata::KMS_USERSCHEMA1_[your_MediaSpace_instance_id]::role", where the instance id is your MediaSpace instance id, found in the Application section of your MediaSpace back office.

To view groups using the Kaltura Developer's Site and Kaltura APIs

The services to use:

To view groups: Userlist filter by (type = group)

To view users within a group: GroupUserlist filter by user id or group id


Modify and use end_user_with_group csv.

Every addtion to the group should be in a separate line.

To remove users from groups, add '-' to the group name in the column. ex: -group1

In This Article
Was this article helpful?
Thank you for your feedback!