Property Name
Count
Property Type
Long
Description
Gets the number of ADs member objects.
This property is read-only.
Example
Dim MembersObject As IADsMembers
Dim UserObject As IADsUser
Dim Grp As IADsGroup
Set Grp = GetObject("NTDS://YourDomainName/GroupName")
Set MembersObject = Grp.Members
Debug.Print MembersObject.Count
See Also