Getuserfullname – Kofax DM API User Manual
Page 251

DM API M
ETHODS
AND
P
ROPERTIES
231
GetUserFullName
GetUserFullName
This method retrieves the full name of the user from the network
operating system.
Syntax
PCDNetworkInfo.GetUserFullName( strNetworkType,
_
strDomainName, _
strMemberID )
Parameters
Returns
GetUserFullName returns an
HRESULT
that indicates whether the
method successfully retrieved the user’s full name.
S_OK
indicates
success.
Usage
If the GetUserFullName method was successful, you can retrieve the
full name of the user by using the
Example
in the discussion of the PCDNetworkInfo object shows
how you can use this method.
strNetworkType
A string that identifies the type of network
operating system that is currently running.
Options are:
•
%NI_ADS
(Active Directory Services)
•
%NI_NDS (a Novell network)
•
%NI_NT (a Microsoft network)
strDomainName
A string that identifies the network domain that
contains this user.
strMemberID
A string that identifies the user within the
network domain.