userHasSpacePermission

Description

Checks if a user has the specified space permission.

Parameters

Return Type

Boolean (true/false)

Example

Checks if user "jdoe" is allowed to edit space with key "PS-DOCS".

userHasSpacePermission("EDITSPACE", "PS-DOCS", "jdoe");

See also