---
title: "admSetProjectPermissionScheme"
canonical: "https://support.appfire.com/space/PSJ/15490144/admSetProjectPermissionScheme"
format: markdown
---
> Macro (aura-html)

> Macro (button-handy)



> Macro (table-plus)
> 
> |  |  |  |  |
> | --- | --- | --- | --- |
> | **Syntax** | admSetProjectPermissionScheme(pkey, schemeName) | **Package** | adm |
> | **Alias** |  | **Pkg Usage** | setProjectPermsScheme(pkey, schemeName) |

## Description

> Macro (excerpt)
> 
> Updates the project permission scheme.

Updates the project permission scheme. Both the scheme and the project must exist.

## Parameters

> Macro (table-plus)
> 
> | Parameter name | Type | Required | Description |
> | --- | --- | --- | --- |
> | pkey | String | Yes | Project key. Must exist. |
> | schemeName | String | Yes | Scheme name. The scheme must exist. Otherwise the setter won't change the previously scheme set. |

## Return Type

**Boolean (true/false)**

Returns 'true' if the project was updated and 'false' if not.

## See also

> Macro (contentbylabel)