Indicates if any of these 2 organizational Unit is visible to the other one. The criteria is that ou1 is a superior of ou2, or ou2 is a superior of ou1, any of both conditions. For example: //Checking Visibility in between OUs display ("Is Dallas Visible to Boston: " + DirOrganizationalUnit.areVisible(ou1 : "Dallas", ou2 : "Boston")) // Returns false display ("Is Boston Visible to Boston/Sales: " + DirOrganizationalUnit.areVisible(ou1 : "Boston", ou2 : "Boston/Sales")) // Returns true
| Name | Type | Description | Mode |
|---|---|---|---|
| ou1 | String | organizational Unit id to compare to ou2 | in |
| ou2 | String | organizaitonal Unit id to compare to ou1 | in |