Share via


SMS_Identification

The SMS_Identification WMI class provides basic information about the installed SMS site, such as its language version, site code, and server provider.

The following syntax is simplified from MOF code and includes all inherited properties.

Class SMS_Identification : SMS_BaseClass
{
  uint32 LocaleID;
  string ServiceAccountName;
  uint32 SMSBuildNumber;
  uint32 SMSMinBuildNumber;
  string SMSProviderServer;
  string SMSSiteServer;
  string SMSVersion;
  string ThisSiteCode;
  string ThisSiteName;
};

Properties

  • LocaleID
    Data type: uint32
    Access type: Read-only

    Identifies the language used by the SMS installation. For example, the locale identifier for English (1033) or German (1031).

  • ServiceAccountName
    Data type: string
    Access type: Read-only

    Name of the SMS service account. This is a special user account having administrative privileges that uses SMS to perform certain activities. The value includes the domain.

  • SMSBuildNumber
    Data type: uint32
    Access type: Read-only

    Build-version number of the installed SMS software.

  • SMSMinBuildNumber
    Data type: uint32
    Access type: Read-only

    Minimum version (build number) of the database with which the UI can work. For SMS 2.0, this has a value of 800.

  • SMSProviderServer
    Data type: string
    Access type: Read-only

    Name of the server where the SMS Provider is installed.

  • SMSSiteServer
    Data type: string
    Access type: Read-only

    Name of the server where the SMS site-server components are installed.

  • SMSVersion
    Data type: string
    Access type: Read-only

    Major version number of the SMS installation. For example, 2.0. For the complete version number, see the Version property of SMS_Site.

  • ThisSiteCode
    Data type: string
    Access type: Read-only
    Qualifiers: Key

    Site code for this installation.

  • ThisSiteName
    Data type: string
    Access type: Read-only

    Friendly name of the site.

Methods

The following table lists the methods in SMS_Identification.

Methods Description
GetCurrentUser Class method that returns the domain\username being used by the SMS Provider for authentication. This may differ from the domain\username supplied by the application depending on the domain trust model used.
GetProviderVersion Class method that returns the product version string from the version resources of the SMS Provider DLL. This method was added in SMS 2.0 Service Pack 1.

See Also

Site Configuration Classes, SMS_Site