createRole
Creates a role.
Applies to Clouds and Integration Appliances.
Parameters:
- role
- The specified roleName for the role that you want created.
- displayName
- The name to be displayed in the WMC.
- The email address for the role.
- Returns:
- True if the role is created.
Examples:
The following example is a SOAP
request to create a role. The input for the request is the session
ID.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sec="http://www.approuter.com/schemas/2008/1/security">
<soapenv:Header>
<sec:sessionId>85E3EB542F02449CE3FDC302A25E47F9</sec:sessionId>
</soapenv:Header>
<soapenv:Body>
<sec:createRole>
<sec:role>jobmonitor</sec:role>
<sec:displayName>jobmonitor</sec:displayName>
<sec:email>monitor@mycompany.com</sec:email>
</sec:createRole>
</soapenv:Body>
</soapenv:Envelope>
The following example is
the SOAP response to the request.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:createRoleResponse xmlns:ns2="http://www.approuter.com/
schemas/2008/1/security" xmlns:ns3="http://www.approuter.com/schema/
router/1000/security/03">
<ns2:success>true</ns2:success>
</ns2:createRoleResponse>
</S:Body>
</S:Envelope>