Hi,

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

Thanks

by (570 points)

1 Answer

by (216k points)
0 votes

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.

by (570 points)
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

by (308k points)
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

I am building lifecycle automation in Adaxes and need to determine both user inactivity and whether a user has ever logged in. The adm-InactivityDuration property already ... recent login across AD and Entra. Thank you in advance for the clarification.

asked Mar 4 by IwistIT (80 points)
0 votes
1 answer

I am trying to create a report that gets the Distribution Groups where Memebrs includes objects that match the initiator's email. For example, if the initiators email is ... I am not very good with the Adaxes specific scripts right now. Adaxes Version:

asked Nov 14, 2025 by apruitt (450 points)
0 votes
1 answer

I am creating a custom report and I wonder. Is it possible to retain multiline formatting aka the data in a row column will not be shown as a one liner in the report custom column? Example: ... ,id | foreach {"id: $($_.id) name: $($_.name)"}) -join "`n"

asked Nov 14, 2025 by KIT (1.1k points)
0 votes
1 answer

Hi, would it be possible to use Value references in embedded scripts with functions? Like, I have several flows, using one external shared file with PowerShell functions. If I ... "%lastname%").Replace("sAMAccountName", "%sAMAccountName%").Replace(" ", "")) }

asked Sep 23, 2025 by wintec01 (2.5k points)
0 votes
1 answer

I know there are a lot of questions out there how to deal with the differing time zone aspects (Adaxes Admin servers and Initiator locations, etc...) ... flexibility to start reflecting time zone adjustments accordingly and dynamically. Does that make sense?

asked Sep 5, 2025 by msheppard (880 points)
0 votes
1 answer