RBACUser - belongsToRole
RBACUser - belongsToRole
Description :
This command checks to see if a user belongs to a specific role. This command returns true if the user belongs to the specified role; otherwise it returns false.
Return type : Boolean
Command Input :
Variable Name |
Variable Type |
Description |
---|---|---|
userName |
String |
User name you want to check. |
roleName |
String |
Role you want to check. |
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.