SiteHasMastership
Description
Tests whether this object is mastered in the local, session database and returns True if it is mastered by 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 schema repository can be changed by using the MultiUtil tool.
Syntax
VBScript
entity.SiteHasMastership
Perl
$entity->SiteHasMastership
();
- Identifier
- Description
- entity
- An Entity object representing a user data record.
- Return value
- The return value is Boolean True if this object is mastered in the session database, and otherwise returns False.
Examples
VBScript
is_mastered_locally = entity.SiteHasMastership
Perl
$is_mastered_locally = $entity->SiteHasMastership();