Getgroupmembers – Kofax DM API User Manual
Page 213

DM API M
ETHODS
AND
P
ROPERTIES
193
GetGroupMembers
GetGroupMembers
This method retrieves the user IDs that are present in the specified
group. There is a hierarchy running from Domain to Group.
Syntax
PCDNetworkInfo.GetGroupMembers( strNetworkOS, _
strDomainName, _
strGroupName )
Parameters
Returns
GetGroupMembers returns an
HRESULT
value that indicates either
success (zero) or the numeric error code that identifies the reason why
the method did not execute successfully. This method also populates
the result set with the user IDs of the group members. No results are
returned if either the Domain name or the Group name is blank.
Example
See the
object for
sample code that illustrates how you can use the GetGroupMembers
method in your custom applications.
Related Items
See the
object.
strNetworkOS
A string variable that identifies the network
operating system that is currently running. Valid
values are:
•
%NI_ADS (Active Directory Services)
•
%NI_NT (a Microsoft network)
•
%NI_NDS (a Novell network)
strDomainName
A string that identifies the domain that contains
the group.
strGroupName
A string that contains the name of the group from
which members are to be retrieved.