<Profile> element

The <Profile> element is the root element for all profile files.

Syntax

The following attributes are supported:

Table 1. Attributes
Attribute Required Type Description
origin no string Origin of the profile.
date no dateTime Date of creation or last modification of the profile. Format is YYYY-MM-DDThh:mm:ss.
readOnly no boolean Tells whether this profile can be used in a set operation. Default value isfalse.
version no string Version number of the profile.

The following child elements are supported:

Table 2. Child Elements
Child element Required Number Description
<ShortDescription> no 0 - 1 Short textual description of the catalog.
<Description> no 0 – 1 Long textual description of the catalog.
<Comments> no 0 – 1 User-provided comments.
<Catalog> no 0 – any Catalog required to handle the operations on a profile.

Attributes

The origin attribute

The origin attribute is an informational attribute that can be assigned the following values:

  • When creating a sample profile, the origin attribute must be set to reference.
  • When a profile is created by using the artexget command, the origin attribute is automatically set to get.

Child elements

The <Comments> element is an optional string reserved for other purposes. This element must not be used when a profile is created manually, and it not used by the base AIX Runtime Expert commands.

Examples

  1. An empty sample profile would look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Profile origin="reference" version="2.0.0" readOnly="true">
    </Profile>
  2. The artexget -r /etc/security/artex/samples/smtctmProfile.xml command outputs a profile similar to following example:
    <?xml version="1.0" encoding="UTF-8"?>
    <Profile origin="get" version="2.0.1" date="2010-09-29T07:50:56Z">
      <Catalog id="smtctlParam" version="2.0">
        <Parameter name="enableSMT" value="1"/>
      </Catalog>
    </Profile>

Related information

The <Catalog> element

The <Description> and <ShortDescription> element.