The SMS_Identification Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that provides basic information about the installed SMS_Site Server WMI Class object, for example, its language version, site code, and provider.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_Identification : SMS_BaseClass 
{
	 UInt32 License;
	 UInt32 LocaleID;
	 UInt32 Reserved;
	 String ServiceAccountName;
	 UInt32 SMSBuildNumber;
	 UInt32 SMSMinBuildNumber;
	 String SMSProviderServer;
	 String SMSSiteServer;
	 String SMSVersion;
	 String ThisSiteCode;
	 String ThisSiteName;
};

Methods

The following table lists the methods in SMS_Identification.

Method Description

GetCurrentUser Method in Class SMS_Identification

Gets the domain\user name being used by the SMS Provider for authentication.

GetProviderVersion Method in Class SMS_Identification

Gets the product version string from the version resources of the SMS Provider DLL.

GetSiteID Method in Class SMS_Identification

Gets the unique ID of the installed Configuration Manager site.

Properties

License

Data type: UInt32Access type: Read Qualifiers: noneLicense type of the installation. Possible values are:

0

Evaluation

1

Non-evaluation

LocaleID

Data type: UInt32Access type: Read/WriteQualifiers: [Subtype("Locale Id")]ID of the locale used by the Configuration Manager installation, for example, English (1033) or German (1031).
Reserved

Data type: UInt32Access type: ReadQualifiers: noneFor internal use only.
ServiceAccountName

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the Configuration Manager service account, which is a special user account having administrative privileges that uses Configuration Manager to perform certain activities. The value includes the domain.
SMSBuildNumber

Data type: UInt32Access type: Read/WriteQualifiers: NoneBuild version number of the installed Configuration Manager software.
SMSMinBuildNumber

Data type: UInt32Access type: Read/WriteQualifiers: NoneMinimum build version number of the database with which the Configuration Manager console can work.
SMSProviderServer

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the server on which the SMS Provider is installed.
Note
If a site has multiple SMS Providers installed, this will just return one of them.
SMSSiteServer

Data type: StringAccess type: Read/WriteQualifiers: NoneName of the server on which the Configuration Manager site server components are installed.
SMSVersion

Data type: StringAccess type: Read/WriteQualifiers: NoneMajor version number of the Configuration Manager installation, for example, 2.0. For the complete version number, see the Version property of SMS_Site Server WMI Class.
ThisSiteCode

Data type: StringAccess type: Read/WriteQualifiers: [key]Site code for the installation.
ThisSiteName

Data type: StringAccess type: Read/WriteQualifiers: NoneFriendly name of the site.

Remarks

Class qualifiers for this class include:

  • Read (read-only)

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

Development Requirements

See Also