Skip to content

Latest commit

 

History

History
89 lines (68 loc) · 2.72 KB

nf-sspi-saslenumerateprofilesa.md

File metadata and controls

89 lines (68 loc) · 2.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:sspi.SaslEnumerateProfilesA
SaslEnumerateProfilesA function (sspi.h)
Lists the packages that provide a SASL interface. (ANSI)
SaslEnumerateProfilesA
sspi/SaslEnumerateProfilesA
security\saslenumerateprofiles.htm
security
0c11e0e3-2538-4703-bc32-31c73d65a498
12/05/2018
SaslEnumerateProfiles, SaslEnumerateProfiles function [Security], SaslEnumerateProfilesA, SaslEnumerateProfilesW, security.saslenumerateprofiles, sspi/SaslEnumerateProfiles, sspi/SaslEnumerateProfilesA, sspi/SaslEnumerateProfilesW
sspi.h
Security.h
Windows
None supported
Windows Server 2003 [desktop apps only]
SaslEnumerateProfilesW (Unicode) and SaslEnumerateProfilesA (ANSI)
Secur32.lib
Secur32.dll
Windows
19H1
SaslEnumerateProfilesA
sspi/SaslEnumerateProfilesA
c++
APIRef
kbSyntax
DllExport
Secur32.dll
SaslEnumerateProfiles
SaslEnumerateProfilesA
SaslEnumerateProfilesW

SaslEnumerateProfilesA function

-description

The SaslEnumerateProfiles function lists the packages that provide a SASL interface.

-parameters

-param ProfileList [out]

Pointer to a list of Unicode or ANSI strings that contain the names of the packages with SASL wrapper support.

-param ProfileCount [out]

Pointer to an unsigned LONG value that contains the number of packages with SASL wrapper support.

-returns

If the call is completed successfully, this function returns SEC_E_OK.

If the function fails, the return value is a nonzero error code.

-remarks

The current list is maintained in the registry under

SYSTEM
   CurrentControlSet
      Control
         SecurityProviders
            SaslProfiles

A terminating NULL character is appended to the end of the list.

Note

The sspi.h header defines SaslEnumerateProfiles as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.