Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
deec
Creator
Creator

user filter conditions - IsActive?

I know this has been asked before, but I've not yet been able to find a complete answer.

Is there documentation on ALL the available resource conditions? The help only has a few obvious conditions like resource.name, user.email, user.environment... But what about all the others? I've seen reference to user.IsAnonymous() in one of the "user rule examples" in the online help, but can't find any place that documents IsAnonymous(). So it stands to reason that there are lots of undocumented user filters or conditions (even the nomenclature is a bit confusing).

I'm trying to create a rule that evaluates if the user is Active/Inactive. 

I've tried a dozen things with no success (user.IsActive(), user.IsActive()="False", !user.IsActive, user.Inactive = "Yes",...)

Thank You

2 Replies
deec
Creator
Creator
Author

I've searched through the API and found this documentation
https://help.qlik.com/en-US/sense-developer/June2019/APIs/repositoryserviceapi/index.html?page=1837

Although some of these user attributes can be used in rules (ex., userDirectory, roles, name). It appears that not all attributes can be used (ex., removedExternally, inactive). 

Also, this list does not contain IsAnonymous. Which makes sense, since that would be more of a session property and the user wouldn't be listed in... a list ... if they were anonymous. 

Anyway, I'm still searching for the complete list of filters for security rules as it pertains to users. Baffles me that this isn't documented or easier to find.

Levi_Turner
Employee
Employee

When it comes to that specific function: https://help.qlik.com/en-US/sense/June2019/Subsystems/ManagementConsole/Content/Sense_QMC/rules-is-a...

As for the rest, that entire section is pretty robust in terms of what's available:

2019-08-01 13_48_13-IsAnonymous ‒ Qlik Sense.png