0=no, 1=yes.
username : string Username
usertype : string
User group that the user is a member of (ARO group). If the user
is not logged in this will be null.
Appendix
[ 369 ]
Constructors
__construct( identifier : int=0 ) : JUser
Builds a new JUser object and loads the user's details from the database.
Parameters [identifier] User's ID
Methods
authorize( acoSection : string, aco : string, axoSection : string=null,
axo : string=null ) : boolean
Determines if the user is authorized to perform an action. Acts as a pass-through for
JAuthorization. This is only for GACL authorization.
Parameters
acoSection
ACO Section (the term 'section' does not
relate to content sections)
aco ACO value
[axoSection]
AXO Section (the term 'section' does not
relate to content sections)
[axo] AXO value
Returns true if authorized
bind( &array : array ) : boolean
Binds an associative array to the object. There are two ways to use this: updating an
existing user and creating a new user. Create is assumed if the object property id is empty
(zero is considered empty).
Pages:
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515