Retrieves or sets the owner of a SsimLibrary, Project, Scenario, or Folder.

owner(ssimObject)

owner(ssimObject) <- value

# S4 method for character
owner(ssimObject)

# S4 method for SsimLibrary
owner(ssimObject)

# S4 method for Project
owner(ssimObject)

# S4 method for Scenario
owner(ssimObject)

# S4 method for Folder
owner(ssimObject)

# S4 method for character
owner(ssimObject) <- value

# S4 method for SsimObject
owner(ssimObject) <- value

# S4 method for Folder
owner(ssimObject) <- value

Arguments

ssimObject

Session, Project, SsimLibrary, or Folder object

value

character string of the new owner

Value

A character string: the owner of the SsimObject.

Examples

if (FALSE) {
# Specify file path and name of new SsimLibrary
myLibraryName <- file.path(tempdir(), "testlib")

# Set up a SyncroSim Session, SsimLibrary, Project, and Scenario
mySession <- session()
myLibrary <- ssimLibrary(name = myLibraryName, session = mySession)
myProject <- project(myLibrary, project = "Definitions")
myScenario <- scenario(myProject, scenario = "My Scenario")

# Retrieve the owner of an SsimObject
owner(myLibrary)
owner(myProject)
owner(myScenario)

# Set the owner of a SyncroSim Scenario
owner(myScenario) <- "Apex RMS"
}