mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
netapi: add NetUserGetInfo to public headers.
Guenther
(This used to be commit 7260fb4dba
)
This commit is contained in:
@ -686,6 +686,26 @@ NET_API_STATUS NetUserChangePassword(const char * domain_name /* [in] */,
|
||||
const char * old_password /* [in] */,
|
||||
const char * new_password /* [in] */);
|
||||
|
||||
/************************************************************//**
|
||||
*
|
||||
* NetUserGetInfo
|
||||
*
|
||||
* @brief Get User Information
|
||||
*
|
||||
* @param[in] server_name The server name to connect to
|
||||
* @param[in] user_name The name of the user that is going to be queried
|
||||
* @param[in] level The level defining the requested USER_INFO_X structure
|
||||
* @param[out] buffer The buffer containing a USER_INFO_X structure
|
||||
* @return NET_API_STATUS
|
||||
*
|
||||
* example user/user_getinfo.c
|
||||
***************************************************************/
|
||||
|
||||
NET_API_STATUS NetUserGetInfo(const char * server_name /* [in] */,
|
||||
const char * user_name /* [in] */,
|
||||
uint32_t level /* [in] */,
|
||||
uint8_t **buffer /* [out] [ref] */);
|
||||
|
||||
/************************************************************//**
|
||||
*
|
||||
* NetQueryDisplayInformation
|
||||
|
Reference in New Issue
Block a user