MultiSite API functions

You can use API functions in hooks and external applications to determine whether you are working with a replicated database and whether your current replica masters the record or object you want to modify.

MultiSite API functions describes three API methods you can use with MultiSite.

Table 1. MultiSite API functions
API method Associated object What it does
SiteHasMastership Entity Workspace User Returns a value that indicates which replica masters a record, Workspace item, user, or group
GetSiteExtendedName Entity Workspace User Returns the value of the ratl_keysite name, which helps you determine which records, users, or groups have naming conflicts and must be renamed
GetLocalReplica Session object Lists replica information. You can use this method to determine whether the database you are working with is a replica.