Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
9 subscribers
Views
2267 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hiya, I have an array of existing users (tp!ListofUsersUpdated) which
garethm
over 11 years ago
Hiya,
I have an array of existing users (tp!ListofUsersUpdated) which is generated form the updatedUsers output from LDAP sync.
This array needs to be modified to remove members of a certain group ("SMT Users") before the remainder are added to a group.
How would I accomplish ? I have tried reject() and remove() but get hit with errors every time.
Help!...
OriginalPostID-93333
OriginalPostID-93333
Discussion posts and replies are publicly visible
Parents
0
garethm
over 11 years ago
The users in the array are all distinct.
The end result is that there are 2 mutually exclusive groups that users should be in 1 or the other, but not both.
Each morning the LDAP sync process collects the details of the users and adds any missing ones to the general user group... including those already in the SMT Users noted above.
What is needed is to remove (or not process) the users already in the SMT Users group from the array, so they are not added to the general user group (this is for KC security - general users = deny. SMT users = allow, but deny always wins!)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
garethm
over 11 years ago
The users in the array are all distinct.
The end result is that there are 2 mutually exclusive groups that users should be in 1 or the other, but not both.
Each morning the LDAP sync process collects the details of the users and adds any missing ones to the general user group... including those already in the SMT Users noted above.
What is needed is to remove (or not process) the users already in the SMT Users group from the array, so they are not added to the general user group (this is for KC security - general users = deny. SMT users = allow, but deny always wins!)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data