# Perspective: Error using hasRole(...) with only 1 argument

**URL:** <https://forum.inductiveautomation.com/t/perspective-error-using-hasrole-with-only-1-argument/26628>\
**Category:** Ignition Early Access\
**Created:** [July 17, 2019, 3:03pm UTC](https://forum.inductiveautomation.com/t/perspective-error-using-hasrole-with-only-1-argument/26628 "2019-07-17T15:03:25Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 20, 2020, 6:09am UTC](https://forum.inductiveautomation.com/t/perspective-error-using-hasrole-with-only-1-argument/26628/13 "2020-09-20T06:09:31Z")

</div>

Why are you forcing the double quotes?  
The example only has double quotes to display that the value is a String.

 ![Screen Shot 2020-09-19 at 11.08.12PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/8/18395e0c1980fb08e9f053449bcb72dd09a8b1d1.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-error-using-hasrole-with-only-1-argument/26628)._
