API17:JUser::authorise
From Joomla! Documentation
JUser::authorise
Description
Method to check object authorisation against an access control object and optionally an access extension object.
public function authorise (
$action
$assetname=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $action | string | The name of the action to check for permission. | |
| $assetname | string | null | The name of the asset on which to perform the action. |
See also
JUser::authorise source code on BitBucket
Class JUser
Subpackage User- Other versions of JUser::authorise
User contributed notes
Code Examples