Actions

API17

JUser::authorise

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JUser::authorise

Description

Method to check object authorisation against an access control object and optionally an access extension object.

Description:JUser::authorise [Edit Descripton]

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.
  • Returns boolean True if authorised
  • Defined on line 277 of libraries/joomla/user/user.php
  • Since Joomla 11.1

See also

  • Joomla 11.1 JUser::authorise source code on BitBucket
  • Joomla 11.1 Class JUser
  • Joomla 11.1 Subpackage User
  • Other versions of JUser::authorise

SeeAlso:JUser::authorise [Edit See Also]

User contributed notes

<CodeExamplesForm />