ICredentialProviderCredentialEvents2::SetFieldOptions method
Specifies whether a specified field in the logon or credential UI should display a "password reveal" glyph or is expected to receive an e-mail address.
Syntax
HRESULT SetFieldOptions( [in] ICredentialProviderCredential *credential, [in] DWORD fieldID, [in] CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS *options );
Parameters
- credential [in]
-
An ICredentialProviderCredential interface pointer to the credential object.
- fieldID [in]
-
The ID of the field in the logon or credential UI for which this option applies.
- options [in]
-
One or more of the CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS values, which specify the field options.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
- ICredentialProviderCredentialEvents2
- ICredentialProviderCredential2::BeginFieldUpdates
- ICredentialProviderCredential2::EndFieldUpdates
- ICredentialProviderCredentialWithFieldOptions::GetFieldOptions
Show: