IADsMembers Property: Filter

Property Name
Filter

Property Type
Variant

Description
Gets and sets the Filter on Collection objects.

Remarks
In DirectScript, the Collection object is a Group. For Local Groups, the possible values for this property are "User", "Group" and "User and Group". By default, the value is set to "User and Group". This property is not required for Global Groups.

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.Filter

 

See Also