ListWindowsGroupNames Method Example

The following example retrieves a string aray of Windows group names for the SecuritySynchronizer object objSecSynch.

Dim objSecSynch As SecuritySynchronizer

Set objSecSynch = New SecuritySynchronizer

Dim bNT4NamesOnly As Boolean

bNT4NamesOnly = True

objSecSynch.ListWindowsGroupNames bNT4NamesOnly

Setting the bNT4NamesOnly variable to True returns only Windows group names that do not exceed twenty characters.