UpdateRole
Updates roles. To update roles, specify the types of updates to make using UpdateRoleOperationGroup, then specify which roles to update.
To update a single role, specify Name or Id. To update a list of roles, specify NameList or IdList. To update roles matching the specified conditions, specify Search.
Request schema
<xsd:complexType name="UpdateRole">
<xsd:sequence>
<xsd:element name="UpdateRoleOperationGroup"
type="typens:UpdateRoleOperationGroup"/>
<xsd:choice>
<xsd:element name="Search" type="typens:RoleSearch"/>
<xsd:element name="IdList" type="typens:ArrayOfString"/>
<xsd:element name="NameList"
type="typens:ArrayOfString"/>
<xsd:element name="Id" type="xsd:string"/>
<xsd:element name="Name" type="xsd:string"/>
</xsd:choice>
<xsd:element name="IgnoreMissing" type="xsd:boolean"
minOccurs="0"/>
<xsd:element name="IgnoreDup" type="xsd:boolean"
minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
Request elements
UpdateRoleOperationGroup
The tasks to perform.
Search
The search condition that specifies which roles to update.
IdList
The list of role IDs to update. Specify either IdList or NameList.
NameList
The list of role names to update. Specify either NameList or IdList.
Id
The ID of the single role to update. Specify either Id or Name.
Name
The name of the single role to update. Specify either Name or Id.
IgnoreMissing
Specifies what to do if the specified role does not exist. If True, BIRT iHub ignores the request. If False, the operation reports an error and stops. The default value is True.
IgnoreDup
Specifies whether to report an error for a duplicate request. BIRT iHub always rejects a duplicate request regardless of the IgnoreDup setting. If True, BIRT iHub does not report an error. In a name list or ID list, True prevents BIRT iHub from performing duplicate operations. If False, BIRT iHub reports an error. The default value is False.