Using Java Report Server Security Extension : SelectRoles
 
SelectRoles
Searches for roles that match the specified criteria. Required if using an external registration security level.
SelectRoles can also retrieve a user’s roles. To retrieve a user’s roles, specify a name in UserName. SelectRolesResponse then returns the list of the user’s roles.
The SelectRoles SOAP message invokes the SelectRolesOfUser method within the Java code, and does not invoke the SelectRoles method. The Security Roles tab in the Management Console invokes the SelectRoles method. iHub does not use the SelectRoles method to link a user account to a role.
Request schema
<xsd:complexType name="SelectRoles">
<xsd:sequence>
<xsd:choice>
<xsd:element name="QueryPattern" type="xsd:string"/>
<xsd:element name="UserName" type="xsd:string"/>
</xsd:choice>
<xsd:element name="FetchSize" type="xsd:int" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
Request elements
QueryPattern
The string match.
UserName
The name of a user whose information to retrieve.
FetchSize
The maximum number of records to retrieve and return in a result set. The default value is 500.
Response schema
<xsd:complexType name="SelectRolesResponse">
<xsd:sequence>
<xsd:element name="Roles" type="typens:ArrayOfString"/>
<xsd:element name="TotalCount" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
Response elements
Roles
The list of roles matching the search criteria.
TotalCount
The number of entries in the search result set.