Export (0) Print
Expand All
Expand Minimize

MFNetCredentialRequirements enumeration

Specifies how the credential manager should obtain user credentials.

Syntax


typedef enum _MFNetCredentialRequirements { 
  REQUIRE_PROMPT         = 0x00000001,
  REQUIRE_SAVE_SELECTED  = 0x00000002
} MFNetCredentialRequirements;

Constants

REQUIRE_PROMPT

The credential manager should prompt the user to provide the credentials.

REQUIRE_SAVE_SELECTED

Note  Requires Windows 7 or later.

The credentials are saved to persistent storage. This flag acts as a hint for the application's UI. If the application prompts the user for credentials, the UI can indicate that the credentials have already been saved.

Remarks

The application implements the credential manager, which must expose the IMFNetCredentialManager interface. If the REQUIRE_PROMPT flag is set, the credential manager should prompt the user for his or her name and password.

The credential cache object sets the REQUIRE_PROMPT flag if the cache does not yet contain valid credentials. It also sets this flag if the credentials will be sent as plain text, unless the credential manager previously set the MFNET_CREDENTIAL_ALLOW_CLEAR_TEXT option. (See IMFNetCredentialCache::SetUserOptions.)

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

See also

Media Foundation Enumerations
Network Source Authentication
IMFNetCredentialCache::GetCredential

 

 

Community Additions

ADD
Show:
© 2014 Microsoft