0 votes

Hi,

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

Thanks

by (530 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

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 2 days ago by msheppard (470 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 by Vertigo (50 points)
0 votes
1 answer

Hello! I would like to use the utc parameter that is described in value references - date/time formatting (https://www.adaxes.com/help/ValueReferences/). The goal is ... please indicate whiich would be the right way for using the utc switch? Thanks, Fabiano

asked May 3 by fabiano.santos-agco (20 points)
0 votes
1 answer

Ideally looking to make this a rule based group, but report or business unit should work also. In our domain, service accounts become direct reports of the user who requested/ ... if a specific object is a/not a direct report. Is this possible? Thank you

asked Nov 14, 2023 by ThompsonAlex (40 points)
0 votes
1 answer

Hi I want to add the users first name up to 8 maximum characters and then unique number starting from 1 to extensionAttribute1 when a user is created.

asked Sep 29, 2023 by johanpr (120 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users