GetOrgInfo

ACCPAC Common Controls

AccpacOrganization.GetOrgInfo

Retrieves all the properties of an AccpacOrganization object in a single method call.

Sub GetOrgInfo(
  DatabaseID As String,
  Name As String,
  SystemDatabaseID As String,
  Type As tagOrganizationTypeEnum,
  SecEnabled As Boolean)

Parameters

DatabaseID

[out] returns the database (organization) ID, as defined in ACCPAC Database Setup

Name

[out] returns the database name, as defined in ACCPAC Database Setup

SystemDatabaseID

[out] returns the database ID of the associated system database; returns "" if the current organization is a system database

Type

[out] returns the database type

SecEnabled

[out] returns whether security is enabled for the database

Remarks