function roleCount($UserID = null)
	{
		if ($UserID === null)
		    throw new \RbacUserNotProvidedException ("\$UserID is a required argument.");

		$Res = Jf::sql ( "SELECT COUNT(*) AS Result FROM {$this->tablePrefix()}userroles WHERE UserID=?", $UserID );
		return (int)$Res [0] ['Result'];
	}
function roleCount($UserID = null)
	{
		if ($UserID === null)
		    throw new \RbacUserNotProvidedException ("\$UserID is a required argument.");

		$Res = Jf::sql ( "SELECT COUNT(*) AS Result FROM {$this->tablePrefix()}userroles WHERE UserID=?", $UserID );
		return (int)$Res [0] ['Result'];
	}
function roleCount ( $ UserID = null ) { if ( $ UserID === null ) throw new \ RbacUserNotProvidedException ( "\$UserID is a required argument." ) ; $ Res = Jf :: sql ( "SELECT COUNT(*) AS Result FROM {$this->tablePrefix()}userroles WHERE UserID=?" , $ UserID ) ; return ( int ) $ Res [ 0 ] [ 'Result' ] ; }
Return count of roles assigned to a user

@param integer $UserID

@throws RbacUserNotProvidedException
@return integer Count of Roles assigned to a User
Return count of roles assigned to a user