Identifiers and User Types in ABO

Unique identifiers and non-unique user types are used by ABO to identify and categorize data entries. Identifiers and user types are listed for each IIS property in the Metabase Property Reference.

Identifiers

Each data entry in the metabase is assigned a unique identifier. These identifiers consist of a DWORD that contains a number that identifies the entry. Identifiers used by IIS are assigned from a pool of reserved numbers.

If you extend the ADSI schema by creating new properties, use identifier numbers greater than 65535 (0x0000ffff) to avoid conflicts with current or future system data.

Current IIS identifiers are defined in the IIScnfg.h header file. The ranges used by IIS are listed the following table.

Range

Reserved for

1 (0x00000001) to 32767 (0x00007fff)

IIS identifiers.

28672 (0x00007000) to 32767 (0x00007fff)

The subset of ASP identifiers.

32768 (0x00008000) to 36863 (0x00008fff)

FrontPage Server Extensions identifiers.

36864 (0x00009000) to 40959 (0x00009fff)

SMTP identifiers.

40960 (0x0000a000) to 45055 (0x0000afff)

POP3 identifiers.

45056 (0x0000b000) to 49151 (0x0000bfff)

NNTP identifiers.

49152 (0x0000c000) to 53247 (0x0000cfff)

IMAP identifiers.

53248 (0x0000d000) to 57343 (0x0000dfff)

MSCS identifiers.

57344 (0x0000e000) to 61439 (0x0000efff)

Application Center identifiers.

User Types

A user type is assigned to each identifier. This user type consists of a DWORD that specifies how the data is used. Current IIS user types are defined in the IIScnfg.h header file, and are listed in the table below:

User Type

Application

ASP_MD_UT_APP

ASP application configuration properties such as AppAllowDebugging and AspScriptTimeout.

IIS_MD_UT_FILE

File and directory properties such as HttpErrors, MimeMap, and Path.

IIS_MD_UT_SERVER

Server properties such as ServerComment, SessionKey, and ConnectionTimeout.

IIS_MD_UT_WAM

Web application configuration properties such as AspRequestQueueMax and AppPackageName.

User types enable you to classify identifiers by application. You must assign a user type to each identifier that you create in the metabase, although each identifier is not required to have a unique user type. The numbers from 0 to 2,000 are reserved for current and future system user types, so use a number greater than 2,000.

You can use the user type to filter data that is requested from a key. For example, the GetAllData method has a parameter, dwUserType, that you can use to specify that a method return data of a certain user type only. For example, if this parameter is set to GetAllData during the method call, the method will return only data that is related to the server.

See Also