Changing Ownership of a Project in SAS Model Studio

When you share a project, you can assign Read and Write permissions to other users. But there are certain tasks that have to be performed by the owner of the project. There are times when the owner is not available. Follow these steps to change ownership.

This process requires the SAS Viya command line interface (CLI). See Command-Line Interface: Overview in SAS Viya Platform: Using the Command-Line Interface for instructions for getting this CLI set up on your deployment before starting this task.

  1. Locate the project on the Projects page of SAS Model Studio.
  2. Click Options on the project tile and select Export from the menu. If you are using the table view of the Projects page, select the project from the row and use the Options at the top right corner of the page.

    This opens a message stating that the project is being prepared for export. When it is ready, you are prompted to specify the location on your hard drive to download the project.

  3. Transfer the downloaded ZIP file to the location where the SAS Viya CLI is installed.
  4. Run this command to install the common-anaytics plug-in.
    ./sas-viya plugins install --repo SAS common-analytics
  5. Run the SAS Viya command with the common-anaytics plug-in to change the ownership of the project.
    ./sas-viya common-analytics project change-user --source projectname.zip --user userid1

    In this example, projectname.zip is the name of the project ZIP file and userid1 is the ID for the user who you want to transfer ownership.

    When the command completes, you have a new ZIP file with the name projectname_userid1.zip.

  6. Import the new ZIP file to SAS Model Studio.

    The project is an exact copy of the original project, except that the ownership has changed.

Last updated: March 16, 2026