Pcdnetworkinfo – Kofax DM API User Manual
Page 99
Advertising

DM API O
BJECTS
79
PCDNetworkInfo
Dim sMember As String
Dim nNumRows As Long
'Retrieve the GroupMembers from the network
nResult = oMembers.
"%NI_NT", sDomainName, sGroupName)
If nResult = 0 Then
'Get the Group members.
nNumRows = oMembers.
()
If nNumRows = 0 Then
MsgBox "No access to Members for this group."
Else
'Place all of the members of this group
'in the ListBox.
For i = 1 To nNumRows
nResult = oMembers.
lstMembers.AddItem (oMembers.
())
Next i
'Select the first member in the list.
lstMembers.ListIndex = 0
End If
Else
'No members in this group.
lstMembers.AddItem sDomainName + "No Members"
End If
nFirstTime = 1
End Sub
Private Sub lstMembers_Click()
Dim nResult As Long
Advertising