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 ARS 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 MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
'
' IF YOU WANT THIS FUNCTIONALITY TO BE CONDITIONALLY SUPPORTED,
' PLEASE CONTACT QUEST PROFESSIONAL SERVICES.
'*********************************************************************************
'
' This code is published on the ActiveRoles Script Center:
' http://communities.quest.com/docs/DOC-9991
'
' This code may use functions from the ARS Script Policy Best Practices:
' http://communities.quest.com/docs/DOC-10016
'
' Please, follow the link to obtain instructions and code for those functions.
'*********************************************************************************
'===========================================================================
' 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 ***************************************************************
COMPATIBILITY
Script compatible with the following version(s): <Not specified>