Using Java Report Server Security Extension : DoesRoleExist
 
DoesRoleExist
Verifies whether the role exists in the external directory. BIRT iHub can call this function to clear references to deleted roles.
Request schema
<xsd:complexType name="DoesRoleExist">
<xsd:sequence>
<xsd:element name="RoleName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
Request elements
RoleName
The name of the role to verify.
Response schema
<xsd:complexType name="DoesRoleExistResponse">
<xsd:sequence>
<xsd:element name="Exists" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
Response elements
Exists
Indicates whether the role exists. If True, the role exists.