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 adds user information to the local database.

Syntax

BOOL NTLMSetUserInfo(
  LPTSTR 
pszUser,
  LPTSTR 
pszPassword
);

Parameters

pszUser

[in] Pointer to the user name. The user name is created if it does not exist.

pszPassword

[in] Pointer to the password, with a maximum of 15 characters.

Return Value

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

Remarks

This function can be called by trusted 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