|
<< Click to Display Table of Contents >> DbiGetNetUserName |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiGetNetUserName (pszNetUserName);
Delphi syntax
function DbiGetNetUserName (pszNetUserName: PChar): DBIResult stdcall;
Description
DbiGetNetUserName returns the user's network login name. User names are available for all networks supported by Microsoft Windows.
Parameters
pszNetUserName Type: pCHAR (Output)
Pointer to the client variable that receives the user network login name string.
DbiResult |
Meaning |
DBIERR_NONE |
The user network login name was successfully retrieved. |
DBIERR_INVALIDHNDL |
pszNetUserName is NULL. |