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 code | Description |
|---|---|
|
The SASL profile specified by the ProfileName parameter could not be found. |
|
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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
SaslGetProfilePackageW (Unicode) and SaslGetProfilePackageA (ANSI) |