[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Regarding Error while deletion of organization units



On 12/27/2013 08:32 AM, raman nanda wrote:
Got it! You have to recursively delete users/permissions, organizations and inheritance.

Wrote a method for this https://gist.github.com/ramannanda9/8147672

Yes you are correct - Fortress will return exceptions if the org unit target is still referenced by other objects such as users (for user organizations), permissions (for perm orgs) and inheritance relationships between the orgs. Deleting users & permissions should be handled by the calling program as you have demonstrated in the sample application.

--
Shawn McKinney
shawn.mckinney@jts.us