Share via


GetUsernamePassword

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function retrieves user credentials for OS components such as PPP and the redirector. It interacts with the OS credential manager to persist user credentials as appropriate.

Syntax

BOOL GetUsernamePassword(
  HWND hParent, 
  PNETUI_USERPWD pUserPwd
);

Parameters

  • hParent
    Handle to the parent window requiring a user password.
  • pUserPwd
    Pointer to the password.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header netui.h
Library Netui.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

GetResourcePassword
NETUI_USERPWD

Other Resources

Network User Interface Functions