PagePermissions::userCanAssignRole()

Can the current user add/remove the given role from other users?

Usage

$bool = $pagePermissions->userCanAssignRole($role);

Arguments

NameType(s)Description
$rolestring Role int

Return value

bool


PagePermissions methods and properties

API reference based on ProcessWire core version 3.0.251