IsInRole

Returns True or False, based on whether the authenticated user ID has the specified role.

Usage

@IsInRole(<Role>)

Argument Name Description
Role The role to test.