user::auth()
Return an authorization object for this user, which can be used to determine user authorizations.
Prototype
auth auth()
Return
An auth object that can be used to access the user's authorizations.
Example
$user->auth()->is_authorized('com_example_blog::CanPost');
 webCOMAND Docs
webCOMAND Docs API Reference
API Reference PHP API
PHP API io_comand_repo
io_comand_repo