Refresh

Reloads UNIX profile data from the data in Active Directory.

Syntax

void Refresh()

Discussion

This method refreshes the UNIX 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:

...  
'Get the zone object  
Set objZone = cims.GetZone("ajax.org/UNIX/Zones/pilot")  
'Get the Active Directory user object  
set objUser = cims.GetUser("ajax.org/Users/pat.hu")  
'Get the UNIX profile for the user  
profile = objUser.UnixProfiles  
'Reload the user’s UNIX profile  
profile.Refresh  
...