Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorLord_Coder
    • CommentTimeSep 24th 2006 edited
     # 1
    Hi all ,

    what's the PHP code to know if the visitor is the member of a specific group ?

    TFYT !

    Bouazza .
    •  
      CommentAuthorWallPhone
    • CommentTimeSep 24th 2006
     # 2
    $Context->User->Role == 'role name' I believe or, possibly better to check for permissions: $Context->Session->User->Permission('PERMISSION_permission-name')
    • CommentAuthorLord_Coder
    • CommentTimeSep 24th 2006
     # 3
    Thanks !
Add your comments
    Username Password
  • Format comments as