ExpandAuthDataForDomain function

Expands the domain groups in the specified user authentication data.

Syntax


NTSTATUS NTAPI ExpandAuthDataForDomain(
  _In_  PUCHAR UserAuthData,
  _In_  ULONG  UserAuthDataSize,
  _In_  PVOID  Reserved,
  _Out_ PUCHAR *ExpandedAuthData,
  _Out_ PULONG ExpandedAuthDataSize
);

Parameters

UserAuthData [in]

A pointer to the user authentication data to expand.

UserAuthDataSize [in]

The size, in bytes, of the UserAuthData buffer.

Reserved [in]

Reserved. This parameter must be set to NULL.

ExpandedAuthData [out]

A pointer to the expanded authentication data.

ExpandedAuthDataSize [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

SpInitialize

 

 

Show: