2.2.4.6 RolesOutputTextType

The RolesOutputTextType complex type contains a collection of role definitions.

 <s:complexType name="RolesOutputTextType">
   <s:sequence>
     <s:element name="Roles">
       <s:complexType>
         <s:sequence>
           <s:element name="Role" minOccurs="0" maxOccurs="unbounded">
             <s:complexType>
               <s:attribute name="ID" type="s:positiveInteger" use="required" />
               <s:attribute name="Name" type="tns:String255Type" use="required" />
               <s:attribute name="Description" type="tns:String512OrEmptyType" use="required" />
               <s:attribute name="Order" type="s:nonNegativeInteger" use="required" />
               <s:attribute name="Hidden" type="tns:TrueFalseType" use="required" />
               <s:attribute name="Type" type="s:string" use="required" />
               <s:attribute name="BasePermissions" type="s:string" use="required" />
             </s:complexType>
           </s:element>
         </s:sequence>
       </s:complexType>
     </s:element>
   </s:sequence>
 </s:complexType>

ID: The identifier of the role definition.

Name: The name of the role definition. The specified value MUST NOT contain more than 255 characters, and MUST NOT be empty.

Description: The description of the role definition. The specified value MUST NOT contain more than 512 characters, and could be empty.

Order: The order in which role definitions are displayed in a UI that displays role definitions for a site or site collection. Role definitions with small order appear first. When multiple role definitions have the same order they MUST be ordered by Type in reverse alphabetical order.

Hidden: Indicates whether the role definition is hidden in a UI. "True" indicates that the role definition is hidden. "False" indicates that the role definition is not hidden<2>.

Type: The role type of the role definition. Role type is specified in [MS-DWSS] section 2.2.5.2.

BasePermissions: The set of permissions for a role definition. All permissions are listed in text and separated by a comma and a space ", ". The contents of this attribute are specified in [MS-WSSFO] section 2.2.2.13, [MS-WSSFO2] section 2.2.2.14, and [MS-WSSFO3] section 2.2.2.15.