Article ID: 102848
Article Last Modified on 10/31/2006
API_FUNCTION NetUserEnum (const char far * pszServer,
short slevel,
char far * pbBuffer,
unsigned short cbBuffer,
unsigned short far * pcEntriesRead,
unsigned short far * pcTotalAvail
)
The term "pbBuffer" points to a buffer where the API call stores the
returned data, which on a successful return contains a sequence of
user_info_x data structures. The API is usually passed a 64K buffer,
which can hold only so many of these user_info_x structures. The
500-user limit specified in the "LAN Manager Administrator's
Reference" is only an approximation, but if the UAS contains more than
500 users the returned data will exceed the maximum 64K buffer at some
point.
Additional query words: 2.20 2.2
Keywords: KB102848