DAV_CALLBACK_AUTH_UNP structure (davclnt.h)

Stores user name and password information that was retrieved by the DavAuthCallback callback function.

Syntax

typedef struct _DAV_CALLBACK_AUTH_UNP {
  LPWSTR pszUserName;
  ULONG  ulUserNameLength;
  LPWSTR pszPassword;
  ULONG  ulPasswordLength;
} DAV_CALLBACK_AUTH_UNP, *PDAV_CALLBACK_AUTH_UNP;

Members

pszUserName

A pointer to a string that contains the user name. This string is allocated by the DavAuthCallback callback function.

ulUserNameLength

The length, in WCHAR, of the user name, not including the terminating NULL character.

pszPassword

A pointer to a string that contains the password. This string is allocated by DavAuthCallback.

ulPasswordLength

The length, in WCHAR, of the password, not including the terminating NULL character.

Remarks

This structure is included as a member in the DAV_CALLBACK_CRED structure.

The DavFreeCredCallback callback function should free only the buffer that the pBuffer member points to, not the entire structure.

Requirements

Requirement Value
Minimum supported client Windows Vista with SP2 [desktop apps only]
Minimum supported server Windows Server 2008 with SP2 [desktop apps only]
Header davclnt.h

See also

DAV_CALLBACK_AUTH_BLOB

DavAuthCallback