Function: EnabledUsers

EnabledUsers returns a list of all users who are enabled. This is potentially slow if you have a lot of users. In such cases it may be faster to use NOT IN DisabledUsers().

Syntax

EnabledUsers()

Example

EntityType = ScriptAssignment AND AssignedTo IN EnabledUsers()

See Also

  • No labels