Windows Dev Center

ICredentialProviderCredentialWithFieldOptions::GetFieldOptions method

Retrieves the current option set for a specified field in a logon or credential UI. Called by the credential provider framework.

Syntax


HRESULT GetFieldOptions(
  [in]  DWORD                                        fieldID,
  [out] CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS *options
);

Parameters

fieldID [in]

The ID of the field in the logon or credential UI.

options [out]

A pointer to an CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS value that, when this method returns successfully, receives one or more flags that specify the current options for the field.

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

CredentialProvider.h

IDL

CredentialProvider.idl

See also

ICredentialProviderCredentialWithFieldOptions
ICredentialProviderCredentialEvents2::SetFieldOptions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft