2.2.5.30 Users Element

The Users XML element is used to specify categories of remote session users. It is the root element of XML documents that are used in WSRM method parameters.

 <xs:element name="Users">
   <xs:complexType name="Users">
     <xs:sequence>
       <xs:element name="Category"
         minOccurs="0"
         maxOccurs="unbounded"
       >
         <xs:complexType name="Category">
           <xs:sequence>
             <xs:element name="User"
               maxOccurs="unbounded"
               minOccurs="0"
             >
               <xs:complexType name="User">
                 <xs:attribute name="DisplayName"
                   type="xs:string"
                  />
                 <xs:attribute name="ID"
                   type="xs:string"
                  />
                 <xs:attribute name="Domain"
                   type="xs:string"
                  />
                 <xs:attribute name="Type"
                   type="xs:string"
                  />
                 <xs:attribute name="Description"
                   type="xs:string"
                  />
               </xs:complexType>
             </xs:element>
           </xs:sequence>
           <xs:attribute name="Type"
             type="xs:string"
            />
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>

Child Elements

Element

Type

Description

Category

Category

A specification of a group of users.

User

User

A specification of a set of attributes that describe a user.

Attributes

Name

Type

Description

DisplayName

xs:string

The display name of the user.

ID

xs:string

The Active Directory value for sAMAccountName of the user, as defined in [MS-ADA3] section 2.222.

Domain

xs:string

The domain of the user.

Type

xs:string

The type of the user, expressed as a user type (section 2.2.2.10).

Description

xs:string

Type

xs:string

The type of the category, expressed as a category type (section 2.2.2.2).

Additional XML data formats are specified in section 2.2.5.