LSA_EXPAND_AUTH_DATA_FOR_DOMAIN callback function (ntsecpkg.h)

Expands the domain groups in the specified user authentication data.

Syntax

LSA_EXPAND_AUTH_DATA_FOR_DOMAIN LsaExpandAuthDataForDomain;

NTSTATUS LsaExpandAuthDataForDomain(
  [in]  PUCHAR UserAuthData,
  [in]  ULONG UserAuthDataSize,
  [in]  PVOID Reserved,
  [out] PUCHAR *ExpandedAuthData,
  [out] PULONG ExpandedAuthDataSize
)
{...}

Parameters

[in] UserAuthData

A pointer to the user authentication data to expand.

[in] UserAuthDataSize

The size, in bytes, of the UserAuthData buffer.

[in] Reserved

Reserved. This parameter must be set to NULL.

[out] ExpandedAuthData

A pointer to the expanded authentication data.

[out] ExpandedAuthDataSize

A pointer to the size, in bytes, of the ExpandedAuthData buffer.

Return value

If the function succeeds, return STATUS_SUCCESS, or an informational status code.

If the function fails, return an NTSTATUS error code that indicates the reason it failed.

Remarks

A pointer to the ExpandAuthDataForDomain function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header ntsecpkg.h

See also

SpInitialize