Skip to main content Skip to complementary content


Boolean function for user conditions that returns True if the user requesting access has logged in as anonymous. Otherwise returns False.




Examples and results

Examples and results

Resource filter: Stream_*

Conditions: user.IsAnonymous()

Action: read

Anonymous users are allowed to read streams.

Resource filter: Stream_*

Conditions:  !user.IsAnonymous()

Action: read, publish

All users that are not anonymous (notice the NOT operator, !, in front of the condition) are allowed to read and publish streams. Anonymous users will have no access to streams.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!