initRepository

abstract fun initRepository(repositoryId: String, useRoleIds: Boolean = true): Promise<Unit>

Create a repository

Parameters

repositoryId

ID of repository to be created

useRoleIds

whether the tree created for the initial version uses UIDs or names to access roles see ITree.usesRoleIds