Skip to main content

Set User Default Repository

Sets the default repository for a user. When that user logs in, the default repository will be set as the current repository. If a user's default repository is not set, Magpie will fall back to using the organization's default repository.

Syntax

alter user <user reference>
set default repository { <repository reference> | none }

Parameters

user reference

String — Name of the user to set the default repository for.

repository reference

String — Name of the new default repository to set. Specify "none" to unset the default repository.