0 votes

Hello,

I like to use a custom attribute to store the hardware choice for a new user:
When a new user is created, a mail is sent to the manager to edit the user. One of the things a manager can ask is different types of hardware. For that reason I like to make use of the adm-CustomAttributeTextMultiValue1 attribute.

After changing the users (using the webinterface) a mail is send to the IT-department with the choice of hardware.
I can use $Hardware = $Context.GetModifiedPropertyValues("adm-CustomAttributeTextMultiValue1")
and put $Hardware in a mail. But this result is a 1 rule string. I would like to show the results under each other.

I don't get the syntax right. And i'm not shure whether to treat it as an object or as a string.

Any help will be usefull.

by (140 points)

1 Answer

0 votes
by (140 points)
selected by
Best answer

Found it,

I needed the $Context.TargetObject.GetEx("adm-CustomAttributeTextMultiValue1"). This gives me the array with string values

Related questions

0 votes
1 answer

Is it possible to remove the default blank option that shows up in a multi-value field? When I add two possible options for a multi-value field in the Property Pattern constraint, ... along with the other two options. Is it possible to get rid of the blank?

asked Mar 8, 2017 by sdavidson (730 points)
0 votes
1 answer

Hi, I'm working on my "account lifecycle" review processes and have a new area that I'm starting to think about. When staff who are also managers (of both users ... use! I appreciate there are some complex questions in here, so don't prioritise! Many Thanks

asked May 30, 2013 by firegoblin (1.6k points)
0 votes
1 answer

Ideally looking to make this a rule based group, but report or business unit should work also. In our domain, service accounts become direct reports of the user who requested/ ... if a specific object is a/not a direct report. Is this possible? Thank you

asked Nov 14, 2023 by ThompsonAlex (40 points)
0 votes
1 answer

Hi, is it possible to save to an Adaxes attribute the value of the last Sign In from Azure AD? When we query users for Last Logon, we, of course, can only see the Last Logon value from AD It would be very useful to know the latest login in Azure AD as well

asked Jun 22, 2020 by manuel.galli (100 points)
0 votes
1 answer

We would like to have a business unit that is based on an adaxes custom attribute. I don't see a way of doing this. Do you all have any ideas?

asked May 18, 2020 by mark.it.admin (2.3k points)
3,538 questions
3,229 answers
8,224 comments
547,748 users