actindo ->auth__check_user_privilege
actindo -> auth__check_user_privilege: Check user privilege (ONLY WITH productid)
Signaturstring auth__check_user_privilege( string $sid, string $privname )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • string $privname
    Privilege name (module/privilege)
     
Returnsstring
array('ok'=>TRUE/FALSE, 'result'=> Auth-Result (AUTH_OK=1, AUTH_NOPERM=0)
 
DescriptionCheck user privilege (ONLY WITH productid)

This function is not publicly available and needs a productid and productserial in auth__login!!
Contact Actindo AG if you want to use this function and request a productid.