Unfortunately this is once again no longer possible in Atlassian Cloud due to system changes. Please vote for and comment on https://jira.atlassian.com/browse/CONF-7837 if you would like to see this functionality implemented in future.
Presently, it is not possible to hide People Directory in OnDemand. As it is a customization, it is not supported.
However, there is a feature request to introduce hiding the Directory from the Browse menu: CONF-12842. As a feature (and not a customization), it would be available in both standalone and OnDemand versions of Confluence, so do watch and vote for the ticket.
This is not possible in OnDemand, as this requires a tweak in some property files in the application, and this will not be preserverd during upgrade cycle for OnDemand applications. There's a feature request available which I suggest you vote for it :
All the best.
Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events