Skip to main content

NOTINGROUP

Checks whether the current user does not belong to a specific user group.

caution

This function is used only in permission-related expressions such as cell locking, cell visibility, and record visibility.

See Cell level Locking & Hiding:  Permissions 

Syntax

NOTINGROUP(groupName)

Arguments

  • groupName: The name of the user group to check.

Returns

  • true if the user is not in the group
  • false if the user belongs to the group

Examples

NOTINGROUP("Sales") → true if the user is not in Sales
NOTINGROUP("HR") → false if the user is in HR

Used in cell locking:

Locked For: NOTINGROUP("Managers")

This locks the cell for everyone except users in the Managers group.