Skip to content

Latest commit

 

History

History
 
 

Check User Has Role

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

User Has Role

This script checks whether the user has a role or not. This script takes two arguments

Argument #1: userId - userId of the record for which you need to validate the roles exists Argument #2: roleId - roleId is the sys_id of the role that we need to check whether exists against the provided userId