userHasContentPermission

Description

Checks if a user has the specified content permission.

Parameters

Return Type

Boolean (true/false)

Example

Checks if user "jdoe" is allowed to edit page with ID 11508.

userHasContentPermission("Edit", 11508, "jdoe");

See also