---
title: "removeAllUserRestrictionsFromContent"
canonical: "https://support.appfire.com/space/PSCONF/15303931/removeAllUserRestrictionsFromContent"
format: markdown
---
> Macro (aura-html)

> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | removeAllUserRestrictionsFromContent(pageId, userNameOrKey) | **Package** |  |
> | **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Removes all user restrictions on the page for the user

Removes all user restrictions on the page for the user

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | pageId | Number | Yes | The ID of the page on which user restrictions will be deleted. |
> | userNameOrKey | String | Yes | User name or key of a user that has restrictions on the page. |

## Return Type

**Boolean (true/false)**

## Example

```javascript
removeAllUserRestrictionsFromContent(11508, "jdoe");
```

## See also

> Macro (contentbylabel)