Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function gets a list of groups to which a user belongs.

Syntax

BOOL NTLMGetGroupList(
  WCHAR* 
userName,
  WCHAR* 
groupList,
  DWORD* 
pdwccLen
);

Parameters

userName

[in] Pointer to the user name, case-insensitive.

groupList

[in, out] Pointer to the multi-string buffer containing the group list. This parameter can be set to NULL if the function is to figure out the actual size of the buffer.

pdwccLen

[in, out] On input, pointer to the size of the buffer, in characters. On output, this parameter points to the required or actual buffer size.

Return Value

Returns TRUE to indicate success, and FALSE to indicate failure.

Remarks

This function can be called by privileged applications only.

Requirements

Header ntlmssp.h
Library Ntlmssp.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also