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:
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:
People Functions (psshared.peoplefunctions) references deprecated Appian APIs [deprecated] com.appiancorp.suiteapi.common.ServiceLocator.getUserProfileService(com.appiancorp.services.ServiceContext)
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
Is getgroupuuid() still available?
Hi aaquibb230 ! In that case, the isuseractive() function may throw an error if the username does not exist for an active or deactivated user! Have you tried using the out of the box function isusernametaken()? You could set up some reject/filter logic on the list of usernames to remove any usernames are not valid, i.e. isusernametaken = false()!
Error in isuseractive if username does not exist for active or deactivated user:
isusernametaken() will return 'false' for the same "fake" username:
Thank glennw9490 , I need this for checking if the user is active in the enviornment or not. Actually I am sending emails to a group where I am receiving the error as "invalid recipients resolved"
Hi aaquibb230 ! Yes, the isuseractive() function is still available in plug-in version 1.16 (environment is 24.1). As a note, it will not come up in autocomplete search of functions, but does still work if you use isuseractive([validUsername]).
Does isuseractive() still exist in this plugin?
Hi, Wanted some confirmation that whether all the functions in v1.15.0 will be working in Appian 24.1 version.
Wanted to confirm that these deprecated APIs were updated:
com.appiancorp.suiteapi.personalization.UserValidationUtils.isValidNameLength(java.lang.String, int) [deprecated] com.appiancorp.suiteapi.common.ServiceLocator.getUserProfileService(com.appiancorp.services.ServiceContext)