BESAPI.SiteManager

SiteManager Methods Description
HRESULT SetAppName (
      BSTR appName
);
Set the Application Name string that is used to specify the registry key for the BESAPI. Default is 'BESAPI'.
HRESULT SetDSN (
      BSTR dsn
);
Set the name of the ODBC DSN to use when connecting to the database. Default is 'BES_bfenterprise'.
HRESULT Subscribe (
      BSTR mastheadFilePath, 
      BSTR username, 
      BSTR password
);
Connects to the database with the username and password. Subscribes to the site specified by the masthead file at the specified file path. Propagates a new version of the action site.
HRESULT SubscribeWithRelevance (
      BSTR mastheadFilePath,
      BSTR relevance,
      BSTR username,
      BSTR password
);
Connects to the database with the username and password. Subscribes computers that evaluate the specified relevance as "true" to the site specified by the masthead file at the specified file path. Propagates a new version of the action site.
HRESULT Unsubscribe (
      UINT siteID, 
      BSTR username, 
      BSTR password
);
Connects to the database with the username and password. Unsubscribes from the site specified by the specified site ID. Propagates a new version of the action site.
SiteManager Properties Description
HRESULT DiagnosticMessage (
      [out, retval] BSTR *pVal
);
If a method fails, this property returns a string containing a diagnostic message.
HRESULT StatusMessage (
      [out, retval] BSTR *pVal
);
Returns a string describing the status of the current operation (for example propagation).
HRESULT CurrentFIPSMode(
    BSTR username, 
    BSTR password, 
    [out, retval] BOOL* pVal );
Retrieves the masthead from the database and returns true if FIPS mode cryptography is enabled in the masthead.