Hi team,

is there any possibility to track changes to an Adaxes attribute of a group?

So, everytime the attribute adm-CustomAttributeTextMultiValue2 of group X is modified, we see this in our logs?

Or would it be only possible to inform us via email by a triggered business rule?

ago by (2.3k points)

1 Answer

ago by (16.2k points)
0 votes

Hello,

If the custom attribute is modified using a built-in action or manually, the corresponding operation is logged. If the modification is performed using a PowerShell script, for the operation to be logged, you need to bind to the group object using the Adaxes pipeline. For example, it can be done using the BindToObjectByDNEx method, where the second parameter is set to True. The following example shows how to bind to a group so that the operations performed on it are logged:

$groupDN = "CN=MyGroup,OU=Groups,DC=domain,DC=com" # TODO: modify me

# Bind to the group using the Adaxes pipeline
$group = $Context.BindToObjectByDNEx($groupDN, $True)

# Update the group
$group.Put("adm-CustomAttributeTextMultiValue2", "MyValue")

# Save the changes
$group.SetInfo()

For information on how to view operations performed over an object, have a look at the following help article: https://www.adaxes.com/help/ViewManagementHistory.

Related questions

We're delegating admin rights to our various IT departments, only giving them access over their stuff under their OUs. They're missing the option to see the group membership ... on user's management history, is there another approach that I'm not aware of?

asked Sep 18, 2024 by felix (190 points)
0 votes
1 answer

Our SQL DBAs are working to move most/all our SQL connections to SSL. They have asked if Adaxes can support this.

asked Feb 22, 2021 by ggallaway (300 points)
0 votes
1 answer

Hi Support, I'm trying to use adaxes to send a couple of branded emails with User information such as UPN and First name. I've written some HTML email code but would ... <table class="wrapper" width="100%" cellspacing="0" align=center cellpadding="0">

asked Feb 18, 2020 by richarddewis (260 points)
0 votes
1 answer

Is it possible using PowerShell to copy group memberships from an already existing user without copying 2 specific groups named for example test and test 1 ? We are currently ... groups are not included. I can share the PowerShell script if needed. KR, Cas

asked Oct 30, 2023 by Cas (200 points)
0 votes
1 answer

Hello, we want to setup a scheduled report with all our teams (security groups) and their respective team-leader (specified in "managedBy" of security group). I get the name of ... the team-leader. And this is my problem... Can you help me with this problem?

asked Oct 9, 2020 by lohnag (160 points)
0 votes
1 answer