shosho shosho

shosho shosho

  • NA
  • 56
  • 18.9k

how to check if a logged in user has a certain department ID

May 31 2015 9:20 AM
I have a table that has a user Id and aswell the Id of the department he/she belongs to.
Now i want to write a code a to check if the logged in  user  belongs to department A OR B, if they belong to either one of them , then they have certain access rights. (otherwise none)

Answers (1)