SiteHasMastership

Description

Tests whether this Workspace object is mastered in the local, session database and returns True if it is mastered in the local site and otherwise returns False.

This method supports MultiSite operations. An object can be modified or deleted only in its schema repository (master database). An object's initial master database is the database in which it is first created, but the master database can be changed by using the MultiUtil tool.

Syntax

VBScript


is_mastered_locally = workspace.SiteHasMastership item_path

Perl


$is_mastered_locally = $workspace->SiteHasMastership(item_path);
Identifier
Description
workspace
The Workspace object obtained from the current session.
item_path
The path to a Workspace item.
Return value
The return value is Boolean True if this object is mastered in the session database, and otherwise is False.