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 (2.7k 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

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 (790 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)
0 votes
1 answer

I have two domains where a sub-set of users are a mirror of each other. When a deprovision is run in the primary domain I would also like it to perform the ... on as well, possibly by calling a separate custom command where I can have different steps.

asked Mar 25, 2016 by Infounlim (470 points)
2,740 questions
2,474 answers
6,475 comments
1,366,842 users