0 votes

Hi,

how have I to use the Value %memberof% to get the group name instead of the DN?

Thanks

by (550 points)

1 Answer

0 votes
by (216k points)

Hello Boris,

Unfortunately, there is no possibility to get the name of a group an object is a member of using the %memberOf% value reference. The memberOf property is of DN syntax, moreover, it is multi-valued. Value references for multi-valued properties resolve into a single random value of the property.

If you need to get the names of groups a user is a member of, a PowerShell script should be used. For us to assist you, please, describe the desired behavior in all the possible details with live examples and screenshots.

0

Hi,

thanks for your respone. We have the request from the departments that team leaders can use Adaxes to query which groups an employee is in. The result should be sent to the requester by mail.

Thanks Boris

0

Hello Boris,

It can be done using a custom command and a PowerShell script. For us to help you with the script, please, provide an example of the email that should be delivered. If you cannot post it here, please, send the example to support@adaxes.com.

As another option, you can use a built-in report, Users' membership in groups. It can be generated in the Web interface or scheduled for email delivery.

Related questions

0 votes
1 answer

We are using the below snippet to grab the email of a single custom attribute object. Can I get guidance on the best way to modify this to get all the emails of each ... "The user specified in parameter 'MyParameter' has no email address. ", "Information") }

asked Dec 23, 2024 by msheppard (720 points)
0 votes
1 answer

We are wanting to display all values entered into a multi value text attribute in an email sent by Adaxes. What we've found is that only the first entry into the array ... Entry" Is there a way to reference the variable so that it displays all entries? Thanks

asked Dec 12, 2024 by msheppard (720 points)
0 votes
1 answer

Is there a way to configure a Custom Command parameter to accept multiple values so I can then add them to a multi value attribute such as adm-CustomAttributeObjectMultiValue1 ... in my specific case I'm looking to use a directory object picker parameter

asked Nov 27, 2024 by AM (50 points)
0 votes
1 answer

Is it possible to use Regex to force a edit box parameter value to a specific format? Forcing a user to input an alphanumeric as (###) ###-####

asked Nov 22, 2024 by msheppard (720 points)
0 votes
1 answer

I am trying to find a way to get an hourly report on locked out user accounts to only be sent if the total amout of locked out account exceeds 10 users. Is this possible in ... a way to setup the logic to check to see how many items are returned in a report.

asked Jun 12, 2024 by Vertigo (50 points)
3,633 questions
3,321 answers
8,398 comments
548,760 users