Line 6:
Line 6:
= Get permission and groups of a user =
= Get permission and groups of a user =
−
{{ToTranslate}}
In the source code of a Dolibarr page, the global object $user is automatically defined.
In the source code of a Dolibarr page, the global object $user is automatically defined.
It contains all informations of the current user.
It contains all informations of the current user.