Overview
Contains a collection of user and group related Functions and Smart Services as detailed below.
Please note that this plugin contains functions that were previously included in the Group Functions plugin and the User and Group Management Application plug-in.
IMPORTANT: Prior to deploying v1.9 or the latest version of the People Functions plugin, please un-deploy the Group Plugins function and the User And Group Management Application plugin if they are present on your environment.
Deprecated functions and smart service are now included out of the box.
Key Features & Functionality
Functions:
Smart Services:
The version 1.16.0 gets flagged in health check report as medium risk due to dependency on deprecated APIs:
People Functions (psshared.peoplefunctions) references deprecated Appian APIs [deprecated] com.appiancorp.suiteapi.common.ServiceLocator.getUserProfileService(com.appiancorp.services.ServiceContext)
The version 1.16.1 gets flagged in health check report as high risk due to dependency on deprecated and Private APIs:
People Functions (psshared.peoplefunctions) references private and deprecated Appian APIs [private] com.appiancorp.core.expr.portable.string.Strings.isNullOrEmpty(java.lang.String) [deprecated] com.appiancorp.suiteapi.common.ServiceLocator.getUserProfileService(com.appiancorp.services.ServiceContext)
Wanted to confirm plans for removing this dependencies from future upgrades.
Thanks
We upgraded Appian and tested for compatibility of the plugin with Appian's 24.3. We did not find any issues with applications dependent on this plugin even after upgrading Appian 25.1
FYI, figured it out, it is this:toboolean(user(username, "userTypeId"))(wrap it in a toboolean if you want it to return true or false else it returns 1 or 0)
What is the replacement for isUserSystemAdministrator?
Something in the download is getting it blocked by my network security. I don't have trouble with most plugins like PDF Tools, etc.
a!isUserMemberOfGroup username, groups, matchAllGroups
groups (List of Group): One or more groups to check for membership
matchAllGroups (Boolean): Determines whether to match any or all of the provided groups. When set to true, the function will check that the user is a member of ALL of the groups. Default: false
Set matchAllGroups as true
any replacement for isusermemberofallgroups function?
I am using this plugin in my application and I am receiving the same warning in the health check and this is causing concern to the client. How did you act in this context?
We have recently upgraded People functions to v1.16.0 as the previous versions v.1.10.0 and v 1.15.0 were being flagged in Health check with High/Medium Risk for containing Removed/Private/Deprecated Appian APIs. However, even after the upgrade the Plugin is being flagged in health check for using Deprecated APIs:
Hoping to understand if there any plans for remediating the usage of deprecated APIs in upcoming upgrades, and if 1.16.0 would be compatible with Appian 24.3