NetUserModalsGet3w
Usage
NET_API_STATUS NetUserModalsGet
(
LPCWSTR szServer,
DWORD level,
LPBYTE* pbuffer
)
Overview
Retrieves global information for all users and global groups in the security database.
Params
szServer [In] Specifies the DNS or the NetBIOS name of the remote server on which the function is to execute.
level [In] Information level of the data. 0 Return global passwords parameters. bufptr points to a USER_MODALS_INFO_0 struct. 1 Return logon server and domain controller information. bufptr points to a USER_MODALS_INFO_1 struct. 2 Return domain name and identifier. bufptr points to a USER_MODALS_INFO_2 struct. 3 Return lockout information. bufptr points to a USER_MODALS_INFO_3 struct.
pbuffer [In] Buffer that receives the data.
Returns
Success: NERR_Success.
Failure: ERROR_ACCESS_DENIED - the user does not have access to the info. NERR_InvalidComputer - computer name is invalid.
Implementation
Declared in "lmaccess.h".
Implemented in "dlls/netapi32/access.c".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.