getRoleUnits |
This method returns the units in which a role is used.
SOAP Request
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <getRoleUnits 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,cn=defaultInst,o=vanenburg.com</roleDN> </getRoleUnits> </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 unit |
Yes |
DN of the role. For example, |
SOAP Response
<getRoleUnitsResponse xmlns="http://schemas.cordys.com/orgmodel/runtime/OrgModel/1.0"> <getRoleUnits> <Units> <Unit> <Id>001CC438-906D-11E2-EE38-EEEA14C33636</Id> <Name>college</Name> <Description>college</Description> <QName>organization unit/college</QName> <Space>organization</Space> </Unit> </Units> </getNrRoleUnits> </getRoleUnitsResponse>
Response Parameters
Parameter |
Description |
---|---|
Id |
ID of the unit |
Name |
Name of the unit |
Description |
Description of the unit |
QName |
Fully Qualified Name (FQN) of the unit |
Space |
Deployment space where the unit is deployed (can be 'organization' or 'shared(isv)'). |