permissionIdExists (function)

Purpose:

Tells whether a permission id exists in UserSpice

Example:

permissionIdExists(2)

Data Type(s):

permissionIdExists(permission_id)

Location:

users/helpers/permissions.php

Details:

This is generally an internal UserSpice function and is not usually used by developers.

<?php if(permissionIdExists(2)){echo 'this is a valid UserSpice permission id'; } ?>