0 votes

I have multiple security groups that are linked to business units for application access (for this example lets say adobe and docusign). If a user has access to multiple applications I would like to add each application to the same CustomAttributeTextMultiValue, and then have the ability to run a query off of this field - i.e users who have access to adobe and docusign. What would be the best method to do this, if its possible? If I run a powershell script everytime a user is added to a group, add the name to the CustomAttributeTextMultiValue, does it only read the last entry, or multiple lines?

thanks.

by (120 points)

1 Answer

0 votes
by (289k points)

Hello,

Yes, it is possible. You will need to use a PowerShell script in a business rule triggering After adding or removing a member from a group. The script will add or remove the corresponding value from the multi-valued property of the member. The following script from our repository should be helpful: https://www.adaxes.com/script-repository/add-remove-object-from-group-upon-adding-removing-it-from-another-group-s469.htm. To obtain the current multi-valued property values in the script, use method GetEx.

Related questions

0 votes
1 answer

Feeling lost here, because using the exact syntax from example #4 here gives me a Set-AdmObject: One or more input parameters are invalid error when I try to ... <guid> -Replace @{adm-CustomAttributeTextMultiValue2=$value} Adaxes Version 3.16.21906.0

asked Jun 21 by ngb (290 points)
0 votes
1 answer

I had a script that would copy the values from adm-CustomAttributeTextMultiValue1 and save them into extensionAttribute15 as a comma seperated list. The script somehow got deleted and I can't seem to find the tutorial I used to create it before.

asked Jul 1, 2022 by jordan (110 points)
0 votes
1 answer

Hello, i have an powerhell variable that contains a hashtable. Is there a way to add the content of this hashtable to an adm- ... @{"adm-CustomAttributeTextMultiValue1"=$hashtable} -AdaxesService localhost Thanks for your assistance!

asked Mar 17, 2021 by roppiffm (130 points)
0 votes
1 answer

Dear Can I use more than ten adm-CustomAttributeTextMultiValue in Adaxes? Sincerly

asked Jun 29, 2020 by hilmiemrebayat (120 points)
0 votes
1 answer

Apologies if this is posted somewhere, I can't seem to find it. Is there a limit to the number of values that can be assigned to a CustomAttributeTextMultiValue? We're ... left field entirely? Maybe there's a better way to accomplish this. Thanks in advance.

asked Apr 14, 2015 by EgotisticalGiraffe (350 points)
3,548 questions
3,239 answers
8,232 comments
547,814 users