---
title: privacyValueDisallowAll
description: Disallow all users
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyValueDisallowAll  
[Back to constructors index](index.md)



Disallow all users




### Type: [PrivacyRule](../types/PrivacyRule.md)


### Example:

```php
$privacyValueDisallowAll = ['_' => 'privacyValueDisallowAll'];
```  


Or, if you're into Lua:

```lua
privacyValueDisallowAll={_='privacyValueDisallowAll'}

```