IsEmpty
Indicates whether the collection of UNIX group profiles is empty.
Syntax
bool IsEmpty {get;}
                                                    
Property value
Returns true if there are no group profiles in the GroupUnixProfiles object, or
false if there is at least one UNIX group profile in the object.
Discussion
Unlike the Count property, the IsEmpty property does not query all of the
profiles in the collection before it returns a value. If you only need to
determine whether any profiles are defined, call this property for a faster
response.
Example
The following code sample illustrates using IsEmpty in a script:
...  
set objZone = cims.GetZoneByPath("LDAP://CN=research,
CN=zones,CN=centrify,CN=program data, DC=sierra, DC=com")  
If objGroupUnixProfiles.IsEmpty then  
wscript.echo "No profiles defined”  
Else  
wscript.echo objGroupUnixProfiles.Count & " profiles defined”  
End if  
...



