DESCRIPTION
This script adds a trustee of Your choice as the Group-Owner in the attribute managedBy of groups upon modification. The attribute will only be modified, in case it is empty. Select the designated trustee at the marked line. The trustee can be a group or a user, but a user is the prefered trustee.
Note This code may use functions from the Active Roles Script Policy Best Practices. Please, follow the link to obtain instructions and code for those functions.
SCRIPT
'*********************************************************************************
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
'
' IF YOU WANT THIS FUNCTIONALITY TO BE CONDITIONALLY SUPPORTED,
' PLEASE CONTACT ONE IDENTITY PROFESSIONAL SERVICES.
'*********************************************************************************
'===========================================================================
' GetProperty
'===========================================================================
Function GetProperty (ByRef objObject, ByVal sAttributeName)
Dim Value
On Error Resume Next
Value = objObject.Get(sAttributeName)
On Error GoTo 0
GetProperty = Value
End Function ' GetProperty
'***** END OF CODE ***************************************************************