IsEmpty

Determines whether the collection of pending import user profiles is empty.

Syntax

bool IsEmpty {get;}

Property value

Returns true if there are no pending import user profiles in the UserInfos object, or false if there is at least one pending import user profile in the object.

Discussion

If there are no pending import user profiles in the UserInfos object, this property returns true. If these is at least one pending import user profile, the property returns false. Unlike the Count property, the IsEmpty property does not enumerate all of the pending import profiles in the collection before it returns a value. If you only need to determine whether any profiles are defined, you should call this property for a faster response.