Expand Minimize

SaslGetProfilePackage function

The SaslGetProfilePackage function returns the package information for the specified package.

Syntax


SECURITY_STATUS SEC_ENTRY SaslGetProfilePackage(
  _In_   LPTSTR ProfileName,
  _Out_  PSecPkgInfo *PackageInfo
);

Parameters

ProfileName [in]

Unicode or ANSI string that contains the name of the SASL package.

PackageInfo [out]

Pointer to a pointer to a SecPkgInfo structure that returns the package information for the package specified by the ProfileName parameter.

Return value

If the call is completed successfully, this function returns SEC_E_OK. The following table shows some possible failure return values.

Return codeDescription
SEC_E_SECPKG_NOT_FOUND

The SASL profile specified by the ProfileName parameter could not be found.

SEC_E_INSUFFICIENT_MEMORY

Memory could not be allocated for the SecPkgInfo structure.

 

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

SaslGetProfilePackageW (Unicode) and SaslGetProfilePackageA (ANSI)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft