0 votes

Hi,

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

Thanks

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

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 (80 points)
0 votes
1 answer

Hi, I copied report "recently created users" and added a parameter to check for specific value in extensionAttribute3. If this attributes starts with e.g. value "startdate" , only those users ... $null, * , %%, ? , ...) Any idea how to build the report?

asked Jul 7, 2023 by wintec01 (1.1k points)
0 votes
1 answer

Hey Adaxes Team, currently we evaluate the new 2023 Adaxes Release. As we tried the new Criteria Function for the Search feature we run into possible a bug. There is the ... the right direction or confirming this as bug. Thanks for your Time! Bests, Daniel.

asked Feb 3, 2023 by dajo (190 points)
0 votes
1 answer

Hello, Am I missing something or is Add or Modify property wizard planned not to show existing value if there's a value already?

asked Dec 7, 2022 by juhota (210 points)
3,348 questions
3,049 answers
7,789 comments
545,046 users