diff options
author | Günther Deschner <gd@samba.org> | 2008-07-18 01:40:14 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-07-18 17:21:58 +0200 |
commit | ce6db92d952de87ac22cf637aab4a5159531a70d (patch) | |
tree | 623aaf3c8470a53c29b53a288ee44d3607503971 /source3/lib/netapi | |
parent | c7b151e78c704ff878d11894c2e22aa2454dcff0 (diff) | |
download | samba-ce6db92d952de87ac22cf637aab4a5159531a70d.tar.gz samba-ce6db92d952de87ac22cf637aab4a5159531a70d.tar.bz2 samba-ce6db92d952de87ac22cf637aab4a5159531a70d.zip |
netapi: add NetUserSetInfo to public header.
Guenther
(This used to be commit 0acf8352a3ca7deb2e3465be441f20d455eb802b)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 95ecbe35cd..9c3468d055 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -708,6 +708,28 @@ NET_API_STATUS NetUserGetInfo(const char * server_name /* [in] */, /************************************************************//** * + * NetUserSetInfo + * + * @brief Set 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 modified + * @param[in] level The level defining the requested USER_INFO_X structure + * @param[in] buf The buffer containing a USER_INFO_X structure + * @param[out] parm_err The returned parameter error number if any + * @return NET_API_STATUS + * + * example user/user_setinfo.c + ***************************************************************/ + +NET_API_STATUS NetUserSetInfo(const char * server_name /* [in] */, + const char * user_name /* [in] */, + uint32_t level /* [in] */, + uint8_t *buffer /* [in] [ref] */, + uint32_t *parm_err /* [out] [ref] */); + +/************************************************************//** + * * NetQueryDisplayInformation * * @brief Enumerate accounts on a server |