0 votes

During a copy user action, I have a business rule to send an email which will contain the account password. Which property would I use to send it to recipient/requestor? Would %mail% look at the source user of the copy action or the newly created account?

by (320 points)

1 Answer

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

Hello,

The %mail% value reference resolves into the email address of the account on which the business rule is executed. In case of the business rule triggering After creating a user, it is the newly created account. To achieve the desired, you can use the approach we described in the following Q&A topic: https://www.adaxes.com/questions/13535/replace-fields-from-copy-action.

Related questions

0 votes
1 answer

Hi, is it possible to use custom Powershell script to determine, who will be able to modify AD object property (for example managedBy)? So it is not manager of given object who can edit this property, but anyone who pass checks in Powershell script..

asked Apr 7, 2020 by KIT (960 points)
0 votes
1 answer

My security team is looking to do a security review and would like the vendor to fill out a questionnaire.

asked Aug 25, 2023 by LarrySargent (20 points)
0 votes
1 answer

We have a 3rd party vendor that we are able to add users based on AD security groups. What I need to do is set a parameter for the number of available licenses and whenever ... the group is 495 I would like an email to trigger telling me to add more licenses.

asked Oct 12, 2022 by A_Pastor (70 points)
0 votes
1 answer

I am working on a script that sends an email (using Send-MailMessage) to one or more recipients, selected through an AD Object Picker parameter within a custom command. I have ... picker before running the code so I am confused as to why this is not working.

asked Mar 4, 2022 by ryan741 (120 points)
0 votes
1 answer

So this works for us however we would like to add to check if the last group is at 3 users we would like to send a seperate email but would still like all the above to continue to happen the way it is.

asked Mar 2, 2022 by Keonip (180 points)
3,539 questions
3,230 answers
8,225 comments
547,764 users