0 votes

Hello

We need to allow distribution group managers to grant send as permissions for individual members of each group. Is there a way to reference the group name when running a user custom command from a Modify Group web interface item?

Many Thanks ReferenceGroupName.png

by (20 points)
0

Hello,

Sorry for the confusion, but we are not sure what exactly you need to achieve. Could you, please, clarify what exactly stands for reference the group name when running a user custom command? A live example of the desired behavior will be much appreciated.

0

So the idea is to run a powershell script to grant a group member send as rights to a distribution group. The way we are planning to achieve this is the create a new item on the self service portal to allow group managers to change this on groups they are managers of and only for members of these groups. The way we can achieve this is by adding a custom command to be run on the user but we are unsure on how we can use the group name in the script.

Add-RecipientPermission -Identity "Is there a variable for the group name if calling the command from a 'modify group' item" -Trustee "%name%" -AccessRights SendAs

Hope this makes sense

Thanks

1 Answer

0 votes
by (294k points)

Hello,

Thank you for clarifying. It can be done using the AD Object picker parameter in your custom command. For details on using the parameters, see step 4 of the following tutorial: https://www.adaxes.com/tutorials_ActiveDirectoryManagement_CreateCustomCommand.htm. In this case, the script part will look like the following:

Add-RecipientPermission -Identity "%param-MyParam%" -Trustee "%name%" -AccessRights SendAs

Related questions

0 votes
1 answer

Is there a way to get the name of the user who approved a request and supply that to a step inside of a custom command? For example, HR submits a status change for an employee. ... and pass it as a param in a custom command that is called in one of the steps?

asked May 12, 2021 by davfount90 (20 points)
0 votes
1 answer

I would like to add the following logic into a Powershell script that will be triggered on 'After Create User'. Read the value of the 'title' property of the user just created ... 'True' or 'False'. Could you assist with how to script this please? Many thanks.

asked May 1, 2020 by Bernie (310 points)
0 votes
1 answer

Dear, I'm having issue in adding a group to a Business Unit. The situation is as following: We have given our IT ServiceDesk access to manage certain groups. This is ... Unit.", "Information") Can you please verify what is preventing the addition? Thank you.

asked Nov 29 by alexalex (20 points)
0 votes
1 answer

Hi again : ) I would like to restrict adding members to specific groups only via Custom Command / Executed via PowerShell. Why? We need information from Helpdesk like Ticket ID ... me know if you need more clarification and I am happy to share details. Thanks!

asked May 21 by wintec01 (1.5k points)
0 votes
1 answer

Hi team, I have a follow up to this question https://www.adaxes.com/questions/14234/business-after-adding-members-powershell-script-executed Let me explain my setup A rule- ... area% failed due to the following exception: $($_.Exception.Message)", "Error") }

asked Feb 13 by wintec01 (1.5k points)
3,589 questions
3,278 answers
8,303 comments
548,137 users