Special Security Functions

The following table lists some special functions that you can use in specific contexts.

FunctionDescription
IsStaffLoginEnabled()Use when writing a formula in the context of a staff profile. Returns True if the staff member's login is activated.
IsStaffLoginEnabled (StaffProfileReference)Use when writing a formula that is not in the context of a staff profile. Returns True when the specified staff has an activated login.
InAnyOfSecurityGroups( 'GroupName1''GroupName2', ...)

Use when writing a formula in the context of a staff profile. Returns True if the staff member is in any of the named security groups.

The variation InAnyOfSecurityGroups() returns True if the staff member is in any security group. You can use Not InAnyOfSecurityGroups() to find staff not assigned to a security group.

InAnyOfSecurityGroups(StaffProfileReference'GroupName1''GroupName2', ...)

Use when writing a formula that is not in the context of a staff profile. Returns True when the specified staff reference is in any of the named security groups.

The InAnyOfSecurityGroups(StaffProfileReference) variation detects if the referenced staff is in any security groups.

LastLoginDateTime()Use when writing a formula in the context of a staff profile. Returns the date and time the staff last logged in or returns EMPTY if they have never logged in.
LastLoginDateTime (StaffProfileReference)Use when writing a formula that is not in the context of a staff profile. Returns the date and time the specified staff last logged in or returns EMPTY if they have never logged in.