I have a top level Org Unit and 3 Sub Org Units.
Trying to build a Mashup with a list of Sub Org Units and another list of users in each Sub Org Unit.
Questions:
1. What service can i use to get a list of all Sub Org Units that current user has access to?
2. What service can i use to get a list of Users when Sub Org Unit is selected?
Thank you.
Vitaliy.
Hi Vitaliy,
To get a list of all sub Organizational Units for which a User has visibility, you can can use a User's
GetOrganizations()
Service and use its result to call an Organization'sGetSubOrganizationConnections()
. To get a list of Users when a sub Organizational Unit is selected, you can use an Organization'sGetMembers()
Service. In both scenarios, you likely want to write "wrapper" Services, so you can include additional functionality. You can find all of these Services in the Service Editor by selecting an Entity on the Entities tab.Thanks,
Adam
Vitaliy,