<xsd:element name="user_sid_item" substitutionGroup="oval-sc:item">
<xsd:annotation>
<xsd:documentation>The windows user_sid_item allows the different groups (identified by SID) that a user belongs to be collected.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="oval-sc:ItemType">
<xsd:sequence>
<xsd:element name="user_sid" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A string the represents the SID of a particular user.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="usersiditemuser" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:user_sid_item/win-sc:user_sid">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the user_sid entity of a user_sid_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="enabled" type="oval-sc:EntityItemBoolType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A boolean that represents whether the particular user is enabled or not.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="usersiditemenabled" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:user_sid_item/win-sc:enabled">
<sch:assert test="@datatype='boolean'">item <sch:value-of select="../@id" /> - datatype attribute for the enabled entity of a user_sid_item should be 'boolean'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="group_sid" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>A string that represents the SID of a particular group. If the specified user belongs to more than one group, then multiple group_sid elements should exist. If the specified user is not a member of a single group, then a single group_sid element should exist with a status of 'does not exist'. If there is an error determining the groups that the user belongs to, then a single group_sid element should be included with a status of 'error'.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="usersiditemgroup" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="win-sc:user_sid_item/win-sc:group_sid">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for a group_sid entity of a user_sid_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
|