getNrRoleUnits |
This method returns the number of units in which a role is used.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <getNrRoleUnits xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0"> <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID> <roleDN>cn=principal,cn=organizational roles,o=system,cn=cordys,o=orr.com</roleDN> </getNrRoleUnits> </SOAP:Body> </SOAP:Envelope>
Request Parameters
Parameter |
Description |
Mandatory |
Accepted Input Value |
---|---|---|---|
WorkspaceID | Unique and valid ID of the Collaborative Workspace (CWS) | No | GUID or null |
roleDN |
Distinguished name of the role |
Yes |
DN of the role. For example, |
SOAP Response
<getNrRoleUnitsResponse xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0"> <getNrRoleUnits>1</getNrRoleUnits> </getNrRoleUnitsResponse>
Response Parameters
Parameter |
Description |
---|---|
getNrRoleUnits |
Number of units in which the role is used |