UserRules::create()
Validates if the user can be created
Parameters
Name | Type | Default |
---|---|---|
$user * | Kirby\Cms\User |
– |
$props | array |
[ ] |
Return type
bool
Exceptions
Type | Description |
---|---|
Kirby\Exception\PermissionException |
If the user is not allowed to create a new user |