Refresh

Reloads the GroupUnixProfile object data from the data in Active Directory.

Syntax

void Refresh()

Discussion

This method refreshes the group profile information in the cached object to ensure it is synchronized with the latest information in Active Directory.

Example

The following code sample illustrates using Refresh in a script:

...  
'Identify the zone you want to work with  
set objZone = cims.GetZoneByPath("LDAP://cn=eur007,cn=Zones,
cn=UNIX,dc=ajax,dc=org")  
'Get the UNIX group profile you want to work with  
set objProfile = objZone.GetGroupUnixProfileByGid(“905”)  
'Reload the group profile object from Active Directory  
objProfile.Refresh  
...