0 votes

We've built a custom command that sends our EULA to people via email if their department is a certain value, otherwise it sends it to the initiator. This is part of an account creation process using a csv file with attributes for the new user(s), (in this case, generating new accounts for an incoming class of students)

We want to change that to sending it directly if the person has a specific insitutional email address. In the csv file the column is the 'otherMailbox' AD attribute, and that's the attribute we use in the Powershell script to send the EULA.

What I want to do is change the condition in the command to if otherMailbox is null run the script that sends to the initiator, if not run the script that sends to the person.

But otherMailbox is NOT available when I edit the condition:

Screen Shot 2020-08-19 at 11.35.49 AM.png

How can I set the condition to test whether otheMailbox is present or not?

by (390 points)

1 Answer

+1 vote
by (3.6k points)
selected by
Best answer

Hello,

The property selection drop-down list contains property display names, not LDAP names. The otherMailbox property can be found under the display name of Mailbox (other).

Also, you can type the LDAP name in the type filter text field like so: property-Ldap.png

For more information on how to view and/or change property display names, please, see https://www.adaxes.com/help/?HowDoI.ManageActiveDirectory.EditFriendlyNames.html.

0

Thank you

Related questions

0 votes
1 answer

Hello, Often objects are moved from one OU to another. In some cases the OU does not have the same property patterns applied to them, and the user become inconsistent with the ... patterns. But we do not know how to get started to build this one Thanks !

asked Feb 22, 2019 by Pierre (750 points)
0 votes
1 answer

Hi, I'm trying to add an custom command under Actions. While I'm able to add them under UI editor, it is not visible when a user logs into self-service portal. However, other default actions are visible when I toggle them in UI editor.

asked Feb 5 by Renugopal (120 points)
0 votes
1 answer

Hello - I have configured some custom property patterns for office location and Department and am seeing a drop down list when attempting to create a new user limited to the ... down list. Is this therefore only limited to some AD attributes and not others ?

asked Mar 21, 2017 by cdsouza (50 points)
0 votes
1 answer

I've got a scheduled agent that is attempting to export data for updated employees. When an employee record is updated, we're setting the value of the LDAP custom attribute ... ") # Release resources used by the search $userResult.Dispose() return } ...

asked Oct 17, 2015 by sandramnc (870 points)
0 votes
1 answer

My company created about a dozen attributes in AD for a few applications...I see many items that look like stock attributes but none of the custom ones...I even have the show empty enabled...current version is 2013.1

asked Sep 25, 2013 by kf4ape (490 points)
3,346 questions
3,047 answers
7,772 comments
544,970 users