Checks whether the specified user has the specified role.
API.hasPermission(
ID,
ROLE
);Real Example:
API.hasPermission(
3626824,
API.ROLE.BOUNCER
);Returns true if user matches the role, else returns false.
Frontend check only, based on stored user information