Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function enumerates a user in a local database.

Syntax

BOOL NTLMEnumUser(
  DWORD 
index,
  LPTSTR 
pszUser,
  LPDWORD 
pcchUser 
);

Parameters

index

[in] The index of the next user to be enumerated.

pszUser

[out] Pointer to a buffer containing the registered user name for this request.

pcchUser

[in, out] On input, pointer to the size of the buffer in characters. On output, this parameter points to the length used, in characters.

Return Value

Returns TRUE to indicate success, and FALSE to indicate failure.

Remarks

This function can be called by privileged applications only.

Requirements

Header ntlmssp.h
Library Ntlmssp.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also