Expand Minimize

SaslEnumerateProfiles function

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

Syntax


SECURITY_STATUS SEC_ENTRY SaslEnumerateProfiles(
  _Out_  LPTSTR *ProfileList,
  _Out_  ULONG *ProfileCount
);

Parameters

ProfileList [out]

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

ProfileCount [out]

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

Return value

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.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Sspi.h (include Security.h)

Library

Secur32.lib

DLL

Secur32.dll

Unicode and ANSI names

SaslEnumerateProfilesW (Unicode) and SaslEnumerateProfilesA (ANSI)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft