Free cookie consent management tool by TermsFeed isusermemberofgroup_21r2 Function
isusermemberofgroup_21r2 Function

This page contains information related to an old version of the a!isUserMemberOfGroup() Function.

To take advantage of the latest features and improvements, we always recommend you use the latest version whenever possible. See the latest version's page for information about what's been changed.

Function

isusermemberofgroup_21r2( username, groupId )

Identifies whether or not a user belongs to a group.

Parameters

Keyword Type Description

username

Text

The username to check for group membership.

groupId

Group

The Id of the group.

Returns

Boolean

Usage considerations

Returns true when the user belongs to the specified group, except when security rules prohibit users from knowing this information.

For example, this function returns false to keep membership awareness secure in the following instance:

  • A high privacy group is passed in AND
  • A user other than the logged in user is passed in AND
  • The function is executed within the context of a basic user who is not an administrator of the high privacy group

A basic user is not allowed to know whether another user is a member of such groups.

isusermemberofgroup_21r2() cannot be used to define a column of process report data or in a process event.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

1
isusermemberofgroup_21r2("john.doe",2)

Returns false.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Partially compatible

Can be used with Appian Portals if it is connected using an integration and web API.

Offline Mobile Compatible
Sync-Time Custom Record Fields Incompatible
Real-Time Custom Record Fields Incompatible

Custom record fields that evaluate in real time must be configured using one or more Custom Field functions.

Process Reports Incompatible

Cannot be used to configure a process report.

Process Events Incompatible

Cannot be used to configure a process event node, such as a start event or timer event.

Open in Github Built: Mon, Apr 22, 2024 (07:49:58 PM)

isusermemberofgroup_21r2 Function

FEEDBACK